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

Steve Lhomme git at videolan.org
Mon Jul 18 06:40:49 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Jul 11 13:19:24 2016 +0200| [6c0e51016be1f690a0bd911cff0fe61d4c03d78e] | committer: Jean-Baptiste Kempf

configure.ac: MS clang doesn't handle floating point pragmas

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6c0e51016be1f690a0bd911cff0fe61d4c03d78e
---

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

diff --git a/configure.ac b/configure.ac
index 8a855f2..81551ee 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__)



More information about the vlc-commits mailing list