opencascade-7.8.0-jemalloc-noexcept.patch 529 B

1234567891011121314
  1. diff --git a/src/Standard/Standard.cxx b/src/Standard/Standard.cxx
  2. index bb06de7..f73164f 100644
  3. --- a/src/Standard/Standard.cxx
  4. +++ b/src/Standard/Standard.cxx
  5. @@ -28,7 +28,7 @@
  6. #elif (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) && (defined(__i386) || defined(__x86_64)))
  7. #include <mm_malloc.h>
  8. #else
  9. -extern "C" int posix_memalign(void** thePtr, size_t theAlign, size_t theSize);
  10. +extern "C" int posix_memalign(void** thePtr, size_t theAlign, size_t theSize) throw ();
  11. #endif
  12. namespace