]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/detail/fenv.hpp
Add forgotten test to distribution
[lyx.git] / boost / boost / detail / fenv.hpp
index 1ba883370f63e8032894adaaf4e6ac119c6486ac..f04870641607e5eee20b7362199b1ad480241cf4 100644 (file)
 
 /* If we're using clang + glibc, we have to get hacky. 
  * See http://llvm.org/bugs/show_bug.cgi?id=6907 */
-#if defined(__clang__)       &&                       \
+#if defined(__clang__)       &&  (__clang_major__ < 3) &&    \
     defined(__GNU_LIBRARY__) && /* up to version 5 */ \
-    defined(__GLIBC__)          /* version 6 + */
+    defined(__GLIBC__) &&         /* version 6 + */ \
+    !defined(_FENV_H)
   #define _FENV_H
 
   #include <features.h>