File: fix-powerpcspe.patch

package info (click to toggle)
gecode 4.2.1-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,240 kB
  • ctags: 25,938
  • sloc: cpp: 191,769; perl: 2,033; makefile: 1,627; sh: 254
file content (14 lines) | stat: -rw-r--r-- 931 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: gecode-4.2.1/gecode/third-party/boost/numeric/interval/hw_rounding.hpp
===================================================================
--- gecode-4.2.1.orig/gecode/third-party/boost/numeric/interval/hw_rounding.hpp	2013-11-20 23:17:27.000000000 +0100
+++ gecode-4.2.1/gecode/third-party/boost/numeric/interval/hw_rounding.hpp	2013-11-21 09:38:46.715734335 +0100
@@ -22,7 +22,9 @@
 #elif defined(__i386__) || defined(_M_IX86) || defined(__BORLANDC__) || defined(_M_X64)
 #  include <gecode/third-party/boost/numeric/interval/detail/x86_rounding_control.hpp>
 #elif defined(powerpc) || defined(__powerpc__) || defined(__ppc__)
+#ifndef __NO_FPRS__
 #  include <gecode/third-party/boost/numeric/interval/detail/ppc_rounding_control.hpp>
+#endif
 #elif defined(sparc) || defined(__sparc__)
 #  include <gecode/third-party/boost/numeric/interval/detail/sparc_rounding_control.hpp>
 #elif defined(alpha) || defined(__alpha__)