[vlc-devel] [PATCH] configure.ac: MS clang doesn't handle floating point pragmas

Steve Lhomme robux4 at videolabs.io
Mon Jul 11 13:19:24 CEST 2016


---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 19406b1..6b98015 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1018,7 +1018,7 @@ AS_IF([test "${enable_optimizations}" != "no"], [
   AC_LANG_POP
 
 AH_BOTTOM([
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(__clang__)
 # pragma fenv_access(off)
 # pragma fp_contract(on)
 #elif defined(__GNUC__)
-- 
2.8.2



More information about the vlc-devel mailing list