projects
/
platform
/
upstream
/
webrtc-audio-processing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44cf772
)
build: Add required define for Windows
author
Nicolas Dufresne
<nicolas.dufresne@collabora.com>
Mon, 4 Jul 2016 19:07:48 +0000
(15:07 -0400)
committer
Arun Raghavan
<arun@arunraghavan.net>
Thu, 14 Jul 2016 03:57:43 +0000
(12:57 +0900)
This will also add it to the .pc file as WEBRTC_WIN leaks into the
public interface and undefined __STRICT_ANSI__ so M_PI is available.
https://bugs.freedesktop.org/show_bug.cgi?id=96754
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f34be72
..
ccaa758
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-65,8
+65,11
@@
AS_CASE(["${host}"],
[OS_FLAGS="-DWEBRTC_MAC -DWEBRTC_IOS"],
[OS_FLAGS="-DWEBRTC_MAC"])
PLATFORM_CFLAGS="-DWEBRTC_POSIX"
+ ],
+ [*-mingw32*],
+ [
+ PLATFORM_CFLAGS="-DWEBRTC_WIN -U__STRICT_ANSI__"
]
- # FIXME: Add Windows support
)
AC_SUBST(PLATFORM_CFLAGS)