diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-12-09 15:45:05 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-12-10 16:14:25 +0100 |
commit | f8a1ead0ae4402df0503c83f213f57b785a5f20f (patch) | |
tree | e642a987986161a6c22fe206ecbbdf57f06eb152 /configure | |
parent | 39fbcf8f76ff2e7cd8d09307e6aacc70ce8f5fed (diff) | |
download | ffmpeg-f8a1ead0ae4402df0503c83f213f57b785a5f20f.tar.gz |
build: Add -D_XOPEN_SOURCE=600 to CPPFLAGS on Cygwin
This is required to make certain math defines visible on modern Cygwin.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4017,7 +4017,7 @@ probe_libc(){ # MinGW headers can be installed on Cygwin, so check for newlib first. elif check_${pfx}cpp_condition newlib.h "defined _NEWLIB_VERSION"; then eval ${pfx}libc_type=newlib - add_${pfx}cppflags -U__STRICT_ANSI__ + add_${pfx}cppflags -U__STRICT_ANSI__ -D_XOPEN_SOURCE=600 # MinGW64 is backwards compatible with MinGW32, so check for it first. elif check_${pfx}cpp_condition _mingw.h "defined __MINGW64_VERSION_MAJOR"; then eval ${pfx}libc_type=mingw64 |