fix string.c include

whoops, not sure why that was even done like that
string.c will include strcasestr.c and SRB2_HAVE_STRLCPY will ensure eitherways we dont use the included strlcpy stuff
This commit is contained in:
Alug committed 2026-01-21 20:04:19 +01:00
1 parent 8e91c16e97
commit 276cf0a8cb
1 file changed
+1 -5
+1 -5
View File
@@ -51,7 +51,7 @@ set(SRB2_CORE_SOURCES
screen.c
sounds.c
st_stuff.c
#strcasestr.c
string.c
tables.c
v_video.c
w_wad.c
@@ -207,10 +207,6 @@ set(SRB2_CORE_GAME_SOURCES
k_stats.h
)
if(NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
set(SRB2_CORE_SOURCES ${SRB2_CORE_SOURCES} string.c)
endif()
prepend_sources(SRB2_CORE_SOURCES)
prepend_sources(SRB2_CORE_HEADERS)
prepend_sources(SRB2_CORE_RENDER_SOURCES)