[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
Tue Nov 10 10:58:56 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL252635: [minisat] Include the fpu_control.h header only when the __GLIBC__ macro is… (authored by vkalintiris).
Changed prior to commit:
http://reviews.llvm.org/D13935?vs=37989&id=39832#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13935
Files:
test-suite/trunk/MultiSource/Applications/minisat/Main.cpp
Index: test-suite/trunk/MultiSource/Applications/minisat/Main.cpp
===================================================================
--- test-suite/trunk/MultiSource/Applications/minisat/Main.cpp
+++ test-suite/trunk/MultiSource/Applications/minisat/Main.cpp
@@ -76,7 +76,7 @@
static inline uint64_t memUsed() { return 0; }
#endif
-#if defined(__linux__)
+#if defined(__GLIBC__) && defined(__linux__)
#include <fpu_control.h>
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13935.39832.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151110/96218bdc/attachment.bin>
More information about the llvm-commits
mailing list