Author: jgardou
Date: Sat Dec 31 17:44:51 2011
New Revision: 54796
URL:
http://svn.reactos.org/svn/reactos?rev=54796&view=rev
Log:
[CRT]
- define CRTDLL for crt and libcntpr for right usage of _CRTIMP macro
Modified:
trunk/reactos/lib/sdk/crt/crt.cmake
trunk/reactos/lib/sdk/crt/libcntpr.cmake
Modified: trunk/reactos/lib/sdk/crt/crt.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/crt.cmake?rev=…
==============================================================================
--- trunk/reactos/lib/sdk/crt/crt.cmake [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/crt.cmake [iso-8859-1] Sat Dec 31 17:44:51 2011
@@ -449,6 +449,12 @@
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)
Modified: trunk/reactos/lib/sdk/crt/libcntpr.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/libcntpr.cmake…
==============================================================================
--- trunk/reactos/lib/sdk/crt/libcntpr.cmake [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/libcntpr.cmake [iso-8859-1] Sat Dec 31 17:44:51 2011
@@ -175,5 +175,11 @@
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)