summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-05-02 13:11:21 -0300
committerJames Almer <jamrial@gmail.com>2019-05-02 13:11:41 -0300
commit0084eed5bffebd7f3915bc0f9eba7350e8bc0ef7 (patch)
tree39680d2feda28341f015b9438c2224d424284f44 /configure
parent3e076faf3b86bb16f746e7c9b0cf3dac5f9a851a (diff)
parentc0bd865ad60da31282c5d8e1000c98366249c31e (diff)
downloadffmpeg-streaming-0084eed5bffebd7f3915bc0f9eba7350e8bc0ef7.zip
ffmpeg-streaming-0084eed5bffebd7f3915bc0f9eba7350e8bc0ef7.tar.gz
Merge commit 'c0bd865ad60da31282c5d8e1000c98366249c31e'
* commit 'c0bd865ad60da31282c5d8e1000c98366249c31e': configure: Add -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 for mingw as well Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 3b11ffe..8af41fd 100755
--- a/configure
+++ b/configure
@@ -5458,6 +5458,7 @@ probe_libc(){
add_${pfx}cppflags -D__printf__=__gnu_printf__
test_${pfx}cpp_condition windows.h "!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0600" &&
add_${pfx}cppflags -D_WIN32_WINNT=0x0600
+ add_${pfx}cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
elif test_${pfx}cpp_condition _mingw.h "defined __MINGW_VERSION" ||
test_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
eval ${pfx}libc_type=mingw32
@@ -5471,6 +5472,7 @@ probe_libc(){
add_${pfx}cppflags -D_WIN32_WINNT=0x0600
eval test \$${pfx_no_}cc_type = "gcc" &&
add_${pfx}cppflags -D__printf__=__gnu_printf__
+ add_${pfx}cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
elif test_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then
eval ${pfx}libc_type=msvcrt
if test_${pfx}cpp_condition crtversion.h "_VC_CRT_MAJOR_VERSION < 14"; then
OpenPOWER on IntegriCloud