diff --git a/reactos/lib/sdk/crt/crt.cmake b/reactos/lib/sdk/crt/crt.cmake index e1e45d57d21..748eda9bed9 100644 --- a/reactos/lib/sdk/crt/crt.cmake +++ b/reactos/lib/sdk/crt/crt.cmake @@ -449,6 +449,12 @@ endif() add_library(crt ${CRT_SOURCE}) target_link_libraries(crt chkstk) -add_target_compile_definitions(crt __MINGW_IMPORT=extern USE_MSVCRT_PREFIX _MSVCRT_LIB_ _MSVCRT_ _MT) +add_target_compile_definitions(crt + __MINGW_IMPORT=extern + USE_MSVCRT_PREFIX + _MSVCRT_LIB_ + _MSVCRT_ + _MT + CRTDLL) #add_pch(crt precomp.h) add_dependencies(crt psdk asm) diff --git a/reactos/lib/sdk/crt/libcntpr.cmake b/reactos/lib/sdk/crt/libcntpr.cmake index f922f536100..2e7a9be3b72 100644 --- a/reactos/lib/sdk/crt/libcntpr.cmake +++ b/reactos/lib/sdk/crt/libcntpr.cmake @@ -175,5 +175,11 @@ else() endif() add_library(libcntpr ${LIBCNTPR_SOURCE}) -add_target_compile_definitions(libcntpr NO_RTL_INLINES _NTSYSTEM_ _NTDLLBUILD_ _LIBCNT_ __CRT__NO_INLINE) +add_target_compile_definitions(libcntpr + NO_RTL_INLINES + _NTSYSTEM_ + _NTDLLBUILD_ + _LIBCNT_ + __CRT__NO_INLINE + CRTDLL) add_dependencies(libcntpr psdk asm)