mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 18:52:10 +00:00
[INFLIB]
Don't use _swprintf. Tested in rosbe 2, 2.1, windows, linux, and VS 10. svn path=/trunk/; revision=57939
This commit is contained in:
parent
4ff569d0f3
commit
92b42897e0
1 changed files with 4 additions and 2 deletions
|
@ -20,10 +20,12 @@ else()
|
||||||
infhostput.c
|
infhostput.c
|
||||||
infhostrtl.c)
|
infhostrtl.c)
|
||||||
|
|
||||||
add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST -D_CRT_NON_CONFORMING_SWPRINTFS)
|
add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST)
|
||||||
|
if(MSVC)
|
||||||
|
add_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
|
||||||
|
endif()
|
||||||
add_library(inflibhost ${GLOBAL_FILES} ${SOURCE})
|
add_library(inflibhost ${GLOBAL_FILES} ${SOURCE})
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_definitions(-D_swprintf=swprintf)
|
|
||||||
add_target_compile_flags(inflibhost "-Wpointer-arith -Wwrite-strings")
|
add_target_compile_flags(inflibhost "-Wpointer-arith -Wwrite-strings")
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(inflibhost unicode)
|
target_link_libraries(inflibhost unicode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue