gcc5 patches, fix changelog dates
This commit is contained in:
parent
6daa1e6e81
commit
ac1db1f72d
1 changed files with 26 additions and 0 deletions
26
asl-gcc5.patch
Normal file
26
asl-gcc5.patch
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
--- source_release/adobe/cmath.hpp~ 2015-08-05 12:10:17.637727832 +0100
|
||||
+++ source_release/adobe/cmath.hpp 2015-08-05 12:24:28.811279909 +0100
|
||||
@@ -36,19 +36,12 @@
|
||||
|
||||
#define ADOBE_HAS_CPP_CMATH
|
||||
|
||||
-#elif __GNUC__ == 4
|
||||
-#if (__GNUC_MINOR__ < 6) || (!(defined(_GLIBCXX_USE_C99_MATH_TR1)))
|
||||
-// at least Ubuntu 9.x, gcc 4.4.1, still falls into this case
|
||||
-/*
|
||||
- The currently supported version of GNUC has C99 extensions in math.h. But no TR1 extensions.
|
||||
-*/
|
||||
+#elif __GNUC__ >= 4
|
||||
+
|
||||
+// GNUC has C99 extensions in math.h but not in <cmath> until C++11.
|
||||
#define ADOBE_HAS_C99_MATH_H
|
||||
#include <cmath>
|
||||
-#else
|
||||
-#include <tr1/cmath>
|
||||
-s
|
||||
-#define ADOBE_HAS_C99_STD_MATH_H
|
||||
-#endif
|
||||
+
|
||||
#endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
Reference in a new issue