summaryrefslogtreecommitdiff
path: root/sci-libs/opencascade/files/opencascade-7.8.0-jemalloc-noexcept.patch
blob: 2c4a98f5a1fdc88949d6ac835e41adb4c8155d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/Standard/Standard.cxx b/src/Standard/Standard.cxx
index bb06de7..f73164f 100644
--- a/src/Standard/Standard.cxx
+++ b/src/Standard/Standard.cxx
@@ -28,7 +28,7 @@
 #elif (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) && (defined(__i386) || defined(__x86_64)))
 #include <mm_malloc.h>
 #else
-extern "C" int posix_memalign(void** thePtr, size_t theAlign, size_t theSize);
+extern "C" int posix_memalign(void** thePtr, size_t theAlign, size_t theSize) throw ();
 #endif
 
 namespace