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

This commit is contained in:
Anonymous Maarten
2024-12-28 13:57:00 +01:00
committed by Anonymous Maarten
parent 02e85a153f
commit 31a4c92ee5
2 changed files with 1 additions and 6 deletions

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")