[PATCH] D13935: [minisat] Include the fpu_control.h header only when the __GLIBC__ macro is defined.
Vasileios Kalintiris via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 21 04:50:39 PDT 2015
vkalintiris created this revision.
vkalintiris added a subscriber: llvm-commits.
http://reviews.llvm.org/D13935
Files:
MultiSource/Applications/minisat/Main.cpp
Index: MultiSource/Applications/minisat/Main.cpp
===================================================================
--- MultiSource/Applications/minisat/Main.cpp
+++ MultiSource/Applications/minisat/Main.cpp
@@ -76,7 +76,7 @@
static inline uint64_t memUsed() { return 0; }
#endif
-#if defined(__linux__)
+#if defined(__GLIBC__)
#include <fpu_control.h>
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13935.37989.patch
Type: text/x-patch
Size: 369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/e9512f7f/attachment.bin>
More information about the llvm-commits
mailing list