libilmbase11/libilmbase-2.0.1-arm_HAVE_UCONTEXT.patch

13 lines
347 B
Diff
Raw Permalink Normal View History

diff -urN a/IexMath/IexMathFpu.cpp b/IexMath/IexMathFpu.cpp
--- a/IexMath/IexMathFpu.cpp 2013-03-06 16:18:50.000000000 -0700
+++ b/IexMath/IexMathFpu.cpp 2013-04-20 19:45:33.400749953 -0600
@@ -53,7 +53,7 @@
#endif
-#ifdef HAVE_UCONTEXT_H
+#if defined(HAVE_UCONTEXT_H) && (defined(__x86_64__) || defined(__i386__))
#include <ucontext.h>