Added GENERATOR_FILE macro to prevent real.h from including mpc.h.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 9 Jul 2010 21:18:10 +0000 (17:18 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Fri, 9 Jul 2010 21:18:10 +0000 (17:18 -0400)
src/aop-weave.c

index e0a2127bbd3da434f13bea827dd842949de13ce0..788321dac518d48ce00be121d6cd25f2e6b0f242 100644 (file)
 #include <tree.h>
 #include <gimple.h>
 #include <toplev.h>
+
+/* Defining GENERATOR_FILE prevents real.h from also including the
+   gmp, mpfr and mpc headers, which we do not need. */
+#define GENERATOR_FILE
 #include <real.h>
+#undef GENERATOR_FILE
 
 #include "aop.h"
 #include "aop-dynval.h"