Blame SOURCES/0006-build-Define-MSVC-_WIN32-so-we-can-build-on-mingw.patch

71361e
From db2f422578140ba6aaf7a2a1d54caacf832fbee2 Mon Sep 17 00:00:00 2001
71361e
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
71361e
Date: Mon, 4 Jul 2016 17:54:45 -0400
71361e
Subject: [PATCH 06/16] build: Define MSVC _WIN32 so we can build on mingw
71361e
71361e
https://bugs.freedesktop.org/show_bug.cgi?id=96754
71361e
---
71361e
 configure.ac | 2 +-
71361e
 1 file changed, 1 insertion(+), 1 deletion(-)
71361e
71361e
diff --git a/configure.ac b/configure.ac
71361e
index 92706e7..5ec8517 100644
71361e
--- a/configure.ac
71361e
+++ b/configure.ac
71361e
@@ -71,7 +71,7 @@ AS_CASE(["${host}"],
71361e
         ],
71361e
     [*-mingw32*],
71361e
         [
71361e
-         PLATFORM_CFLAGS="-DWEBRTC_WIN -U__STRICT_ANSI__"
71361e
+         PLATFORM_CFLAGS="-DWEBRTC_WIN -D_WIN32 -U__STRICT_ANSI__"
71361e
          HAVE_WIN=1
71361e
         ]
71361e
 )
71361e
-- 
71361e
2.14.3
71361e