Author: akhaldi
Date: Sun Dec 16 17:15:34 2012
New Revision: 57931
URL:
http://svn.reactos.org/svn/reactos?rev=57931&view=rev
Log:
[LIBINFHOST]
* Fix a linking issue with the upcoming toolchain.
Modified:
trunk/reactos/lib/inflib/CMakeLists.txt
Modified: trunk/reactos/lib/inflib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/inflib/CMakeLists.txt?…
==============================================================================
--- trunk/reactos/lib/inflib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/inflib/CMakeLists.txt [iso-8859-1] Sun Dec 16 17:15:34 2012
@@ -23,6 +23,7 @@
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)