This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
adobe-source-libraries/asl-gcc6.patch
2016-05-16 17:12:40 +01:00

14 lines
394 B
Diff

--- source_release/adobe/cmath.hpp.orig 2016-05-16 16:43:02.179719529 +0100
+++ source_release/adobe/cmath.hpp 2016-05-16 16:51:32.576909454 +0100
@@ -39,7 +39,11 @@
#elif __GNUC__ >= 4
// GNUC has C99 extensions in math.h but not in <cmath> until C++11.
+#if __cplusplus >= 20103L
+#define ADOBE_HAS_C99_STD_MATH_H
+#else
#define ADOBE_HAS_C99_MATH_H
+#endif
#include <cmath>
#endif