[vlc-devel] [PATCH] configure: really don't override _WIN32_WINNT if it's set
Steve Lhomme
robux4 at ycbcr.xyz
Mon Mar 4 16:20:14 CET 2019
The AC_PREPROC_IFELSE was missing a part
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index 15b2fd4e3d..2460655802 100644
--- a/configure.ac
+++ b/configure.ac
@@ -229,6 +229,8 @@ case "${host_os}" in
# error _WIN32_WINNT already defined
#endif
]],[[;]])
+ ],[
+ AC_MSG_WARN([Not overriding _WIN32_WINNT])
],[
AC_DEFINE([_WIN32_WINNT], 0x0601, [Define to '0x0601' for Windows 7 APIs.])
])
--
2.17.1
More information about the vlc-devel
mailing list