mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00

* Fix build with Xcode 16.3
* Simplify OpenVDB patch, from 930c3acb8e (diff-bc3061cc2fe6c64a3d67c8350330bb3a530d01037faace6da27ad9a12aa03e29)
* Fix CGAL header under clang 19
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281880
* Fix compile error due to removal of base template for `std::char_traits` in clang 19
https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html#deprecations-and-removals
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
--- a/pngpriv.h 2025-04-20 19:36:04.000000000
|
|
+++ b/pngpriv.h 2025-04-20 19:35:55.000000000
|
|
@@ -511,24 +511,14 @@
|
|
* DBL_DIG Maximum number of decimal digits (can be set to any constant)
|
|
* DBL_MIN Smallest normalized fp number (can be set to an arbitrary value)
|
|
* DBL_MAX Maximum floating point number (can be set to an arbitrary value)
|
|
*/
|
|
# include <float.h>
|
|
|
|
-# if (defined(__MWERKS__) && defined(macintosh)) || defined(applec) || \
|
|
- defined(THINK_C) || defined(__SC__) || defined(TARGET_OS_MAC)
|
|
- /* We need to check that <math.h> hasn't already been included earlier
|
|
- * as it seems it doesn't agree with <fp.h>, yet we should really use
|
|
- * <fp.h> if possible.
|
|
- */
|
|
-# if !defined(__MATH_H__) && !defined(__MATH_H) && !defined(__cmath__)
|
|
-# include <fp.h>
|
|
-# endif
|
|
-# else
|
|
-# include <math.h>
|
|
-# endif
|
|
+# include <math.h>
|
|
+
|
|
# if defined(_AMIGA) && defined(__SASC) && defined(_M68881)
|
|
/* Amiga SAS/C: We must include builtin FPU functions when compiling using
|
|
* MATH=68881
|
|
*/
|
|
# include <m68881.h>
|
|
# endif
|