mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-31 00:48:41 +03:00
25 lines
872 B
Diff
25 lines
872 B
Diff
|
|
diff --git a/3rdparty/libpng/pngpriv.h b/3rdparty/libpng/pngpriv.h
|
||
|
|
index 583c26f..83e0ab8 100644
|
||
|
|
--- a/3rdparty/libpng/pngpriv.h
|
||
|
|
+++ b/3rdparty/libpng/pngpriv.h
|
||
|
|
@@ -517,18 +517,7 @@
|
||
|
|
*/
|
||
|
|
# 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
|