Both config.h and system.h define ABI/API macros for system headers.
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Tue, 16 Dec 2014 17:14:49 +0000 (17:14 +0000)
committerMichael Haubenwallner <haubi@gcc.gnu.org>
Tue, 16 Dec 2014 17:14:49 +0000 (17:14 +0000)
* sreal.c: Include math.h later.

From-SVN: r218783

gcc/ChangeLog
gcc/sreal.c

index 4b134ad05194ce00c1497e9fceb8485e13f2a300..e40fab7e1571142106cf186163cb6e581a553c12 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-16  Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
+
+       Both config.h and system.h define ABI/API macros for system headers.
+       * sreal.c: Include math.h later.
+
 2014-12-16  Felix Yang  <felix.yang@huawei.com>
 
        PR rtl-optimization/64240
index 11ea9cedc56ca71eacc2200d943c76dae11c448a..85253793650e00d975de95261b758a93f25ef173 100644 (file)
@@ -47,9 +47,9 @@ along with GCC; see the file COPYING3.  If not see
        sig == 0 && exp == -SREAL_MAX_EXP
 */
 
-#include <math.h>
 #include "config.h"
 #include "system.h"
+#include <math.h>
 #include "coretypes.h"
 #include "sreal.h"