X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Flib%2Finflib%2FCMakeLists.txt;h=7856d1900bf5821287068019fc1a7a09c98092ce;hp=08e569606b71418501e9ddc546d59a3b6624af27;hb=ab0b0164acceb5f031703e320bd7b133e7bd3227;hpb=03cb1310ee1221289795ed155f84b5b4e756966d 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)