projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909fd95
)
[WPP]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 15 Sep 2012 15:59:06 +0000
(15:59 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 15 Sep 2012 15:59:06 +0000
(15:59 +0000)
Fix build with VS 9
CORE-6636 #resolve
svn path=/trunk/; revision=57304
reactos/tools/wpp/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/reactos/tools/wpp/CMakeLists.txt
b/reactos/tools/wpp/CMakeLists.txt
index
dd8d528
..
75a9521
100644
(file)
--- a/
reactos/tools/wpp/CMakeLists.txt
+++ b/
reactos/tools/wpp/CMakeLists.txt
@@
-3,8
+3,13
@@
if(MSVC)
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
@@
list(APPEND SOURCE
add_library(wpp ${SOURCE})
-add_dependencies(wpp build_header)
\ No newline at end of file
+add_dependencies(wpp build_header)