Author: tkreuzer
Date: Sat Sep 15 15:59:06 2012
New Revision: 57304
URL:
http://svn.reactos.org/svn/reactos?rev=57304&view=rev
Log:
[WPP]
Fix build with VS 9
CORE-6636 #resolve
Modified:
trunk/reactos/tools/wpp/CMakeLists.txt
Modified: trunk/reactos/tools/wpp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wpp/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/tools/wpp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/tools/wpp/CMakeLists.txt [iso-8859-1] Sat Sep 15 15:59:06 2012
@@ -3,8 +3,13 @@
add_definitions(
-Dsnprintf=_snprintf
-Dstrtoull=_strtoui64
- -Dstrtoll=_strtoi64
- -Dvsnprintf=_vsnprintf)
+ -Dstrtoll=_strtoi64)
+
+ # VS 9 doesn't like this
+ if (NOT MSVC90)
+ add_definitions(
+ -Dvsnprintf=_vsnprintf)
+ endif()
endif()
list(APPEND SOURCE
@@ -15,4 +20,4 @@
add_library(wpp ${SOURCE})
-add_dependencies(wpp build_header)
+add_dependencies(wpp build_header)