mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] Define some AMD64 symbols for host tools that match what we do for x86.
Fixes widl build.
This commit is contained in:
parent
8077da05e0
commit
e7acf61764
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ if(NOT CMAKE_CROSSCOMPILING)
|
|||
if(MSVC)
|
||||
if(ARCH STREQUAL "i386")
|
||||
add_definitions(/D_X86_ /D__i386__ /DWIN32 /D_WINDOWS)
|
||||
elseif(ARCH STREQUAL "amd64")
|
||||
add_definitions(-D_AMD64_ -D__x86_64__ /DWIN32 -D_WINDOWS)
|
||||
endif()
|
||||
if(MSVC_VERSION GREATER 1699)
|
||||
add_definitions(/D_ALLOW_KEYWORD_MACROS)
|
||||
|
|
Loading…
Reference in a new issue