mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 00:25:05 +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)
|
||||
add_definitions(
|
||||
-Dsnprintf=_snprintf
|
||||
-Dvsnprintf=_vsnprintf)
|
||||
-Dsnprintf=_snprintf)
|
||||
|
||||
# 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)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue