mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -20,10 +20,12 @@ else()
|
||||
infhostput.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})
|
||||
if(NOT MSVC)
|
||||
add_definitions(-D_swprintf=swprintf)
|
||||
add_target_compile_flags(inflibhost "-Wpointer-arith -Wwrite-strings")
|
||||
endif()
|
||||
target_link_libraries(inflibhost unicode)
|
||||
|
||||
Reference in New Issue
Block a user