mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:45:43 +00:00
[CRT]
- define CRTDLL for crt and libcntpr for right usage of _CRTIMP macro svn path=/trunk/; revision=54796
This commit is contained in:
parent
bc18a6c289
commit
63a8f26892
2 changed files with 14 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue