1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 20:00:37 +00:00
mpv/waftools
Diogo Franco (Kovensky) c4d905b567 build: Add -U__STRICT_ANSI__ to CFLAGS on Cygwin
Cygwin's libc (newlib) doesn't obey a lot of unix feature test macros,
including _GNU_SOURCE; as a result, a lot of functions and defines get
masked out -- important defines such as M_PI and strcasecmp. Work around
it by undefining __STRICT_ANSI__ on cygwin systems.

This will still cause compilation issues on any non-cygwin system that
uses newlib, but hopefully nobody does that, or if they do, they will
find this commit message and know to add -U__STRICT_ANSI__ to their
CFLAGS. Hopefully.
2014-03-11 00:08:53 +01:00
..
checks Detect Lua on FreeBSD 2014-01-15 20:57:17 +01:00
detections build: Add -U__STRICT_ANSI__ to CFLAGS on Cygwin 2014-03-11 00:08:53 +01:00
fragments build: fix cocoa configure check on OS X 10.7 2014-01-06 20:21:14 +01:00
generators waf: try to fix unicode/byte string messup 2014-01-31 19:05:20 +01:00
__init__.py
dependencies.py build: make deps_neg work with multiple dependencies 2013-11-29 23:31:17 +01:00
features.py build: hide duplicate options from --help 2013-12-26 10:09:17 +01:00
inflectors.py
waf_customizations.py