mirror of
https://github.com/reactos/reactos.git
synced 2024-08-13 22:56:37 +00:00
[WIDL]
Add VS9 build workaround for widl, like done for wpp. CORE-6636 #resolve svn path=/trunk/; revision=57321
This commit is contained in:
parent
fc666bdd05
commit
f916549b5d
|
@ -1,8 +1,14 @@
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-Dsnprintf=_snprintf
|
-Dsnprintf=_snprintf)
|
||||||
-Dvsnprintf=_vsnprintf)
|
|
||||||
|
# Add this definition for WDK only, VS 9 doesn't like that
|
||||||
|
if (DEFINED ENV{DDKBUILDENV})
|
||||||
|
add_definitions(
|
||||||
|
-Dvsnprintf=_vsnprintf)
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND SOURCE getopt.c)
|
list(APPEND SOURCE getopt.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue