[vlc-commits] Emulate AC_USE_SYSTEM_EXTENSIONS and _GNU_SOURCE for mingw-w64
Rafaël Carré
git at videolan.org
Sat Jul 26 18:22:12 CEST 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sat Jul 26 18:20:20 2014 +0200| [e39f8aac6f466cf6278da15bdd3337c91e5fb4eb] | committer: Rafaël Carré
Emulate AC_USE_SYSTEM_EXTENSIONS and _GNU_SOURCE for mingw-w64
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e39f8aac6f466cf6278da15bdd3337c91e5fb4eb
---
configure.ac | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configure.ac b/configure.ac
index b847f57..677cc67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,14 @@ case "${host_os}" in
AC_DEFINE([_WIN32_IE], 0x0600, [Define to '0x0600' for IE 6.0 (and shell) APIs.])
AC_DEFINE([_UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
AC_DEFINE([UNICODE], [1], [Define to 1 for Unicode (Wide Chars) APIs.])
+ AC_DEFINE([_ISOC99_SOURCE], [1], [Extensions to ISO C89 from ISO C99.])
+ AC_DEFINE([_ISOC11_SOURCE], [1], [Extensions to ISO C99 from ISO C11.])
+ AC_DEFINE([_POSIX_SOURCE], [1], [IEEE Std 1003.1.])
+ AC_DEFINE([_POSIX_C_SOURCE], [200809L], [IEEE Std 1003.1.])
+ AC_DEFINE([_XOPEN_SOURCE], [700], [POSIX and XPG 7th edition])
+ AC_DEFINE([_XOPEN_SOURCE_EXTENDED], [1], [XPG things and X/Open Unix extensions.])
+ AC_DEFINE([_BSD_SOURCE], [1], [ISO C, POSIX, and 4.3BSD things.])
+ AC_DEFINE([_SVID_SOURCE], [1], [ISO C, POSIX, and SVID things.])
case "${host_os}" in
*mingw32*)
More information about the vlc-commits
mailing list