When building with libc enabled, we don't need to provide __chkstk ourselves

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2025-01-02 01:15:28 +01:00
1 parent 02e85a153f
commit 31a4c92ee5
2 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -498,7 +498,7 @@ else()
sdl_include_directories(NO_EXPORT SYSTEM PRIVATE "$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/src/video/khronos>")
endif()
if(MSVC AND TARGET SDL3-shared)
if(MSVC AND TARGET SDL3-shared AND NOT SDL_LIBC)
if(SDL_CPU_X64)
enable_language(ASM_MASM)
set(asm_src "${SDL3_SOURCE_DIR}/src/stdlib/SDL_mslibc_x64.masm")