From: Justin Seyster Date: Fri, 9 Jul 2010 21:18:10 +0000 (-0400) Subject: Added GENERATOR_FILE macro to prevent real.h from including mpc.h. X-Git-Tag: release-v1.0~84 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=1d9eab503987f4ba70495939d167298c4b65df51;p=interaspect.git Added GENERATOR_FILE macro to prevent real.h from including mpc.h. --- diff --git a/src/aop-weave.c b/src/aop-weave.c index e0a2127..788321d 100644 --- a/src/aop-weave.c +++ b/src/aop-weave.c @@ -32,7 +32,12 @@ #include #include #include + +/* Defining GENERATOR_FILE prevents real.h from also including the + gmp, mpfr and mpc headers, which we do not need. */ +#define GENERATOR_FILE #include +#undef GENERATOR_FILE #include "aop.h" #include "aop-dynval.h"