Make sure WIN32 is defined for ARM builds

svn path=/trunk/; revision=67732
This commit is contained in:
Timo Kreuzer 2015-05-14 22:30:56 +00:00
parent 350a7747d4
commit 9b8b564ef5

View file

@ -164,7 +164,7 @@ else()
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64) add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH STREQUAL "arm") elseif(ARCH STREQUAL "arm")
# _M_ARM is already defined by toolchain # _M_ARM is already defined by toolchain
add_definitions(-D_ARM_ -D__arm__) add_definitions(-D_ARM_ -D__arm__ -DWIN32)
if(SARCH STREQUAL "omap-zoom2") if(SARCH STREQUAL "omap-zoom2")
add_definitions(-D_ZOOM2_) add_definitions(-D_ZOOM2_)
endif() endif()