build: Define MSVC _WIN32 so we can build on mingw

https://bugs.freedesktop.org/show_bug.cgi?id=96754
This commit is contained in:
Nicolas Dufresne 2016-07-04 17:54:45 -04:00 committed by Arun Raghavan
parent bf6b9de143
commit db2f422578

View File

@ -71,7 +71,7 @@ AS_CASE(["${host}"],
],
[*-mingw32*],
[
PLATFORM_CFLAGS="-DWEBRTC_WIN -U__STRICT_ANSI__"
PLATFORM_CFLAGS="-DWEBRTC_WIN -D_WIN32 -U__STRICT_ANSI__"
HAVE_WIN=1
]
)