From ab0b0164acceb5f031703e320bd7b133e7bd3227 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 16 Dec 2012 17:15:34 +0000 Subject: [PATCH] [LIBINFHOST] * Fix a linking issue with the upcoming toolchain. svn path=/trunk/; revision=57931 --- reactos/lib/inflib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/lib/inflib/CMakeLists.txt b/reactos/lib/inflib/CMakeLists.txt index 08e569606b7..7856d1900bf 100644 --- a/reactos/lib/inflib/CMakeLists.txt +++ b/reactos/lib/inflib/CMakeLists.txt @@ -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) -- 2.17.1