[LIBINFHOST]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 16 Dec 2012 17:15:34 +0000 (17:15 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 16 Dec 2012 17:15:34 +0000 (17:15 +0000)
* Fix a linking issue with the upcoming toolchain.

svn path=/trunk/; revision=57931

reactos/lib/inflib/CMakeLists.txt

index 08e5696..7856d19 100644 (file)
@@ -23,6 +23,7 @@ else()
     add_definitions(-D__NO_CTYPE_INLINES -DINFLIB_HOST -D_CRT_NON_CONFORMING_SWPRINTFS)
     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)