summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-07-04 21:54:45 (GMT)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-07-05 22:11:03 (GMT)
commit3c7d0a358081fb17a877802399b7685e55947289 (patch)
treedba9f6ce00e52c7059c01833ff9d4673a82ea45a
parent9f75161dbff32ea1fc2b1492ec93df3188b4d948 (diff)
downloadwebrtc-audio-processing-3c7d0a358081fb17a877802399b7685e55947289.tar.gz
webrtc-audio-processing-3c7d0a358081fb17a877802399b7685e55947289.tar.xz
Define MSVC _WIN32 so we can build on mingw
https://bugs.freedesktop.org/show_bug.cgi?id=96754
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bd8e409..2ca5ea9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ AS_CASE(["${host}"],
],
[*-mingw32*],
[
- PLATFORM_CFLAGS="-DWEBRTC_WIN -U__STRICT_ANSI__"
+ PLATFORM_CFLAGS="-DWEBRTC_WIN -D_WIN32 -U__STRICT_ANSI__"
HAVE_WIN=1
]
)