From cbb262f2caf17d9d2f6f8642df5cb24d89eaec8f Mon Sep 17 00:00:00 2001 From: ross Date: Wed, 6 Oct 2004 10:13:07 +0000 Subject: [PATCH] [project @ 2004-10-06 10:13:07 by ross] make the evil PACKAGE_* hacks consistent --- include/HsBase.h | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/include/HsBase.h b/include/HsBase.h index 1af22ca..9738ffc 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -11,21 +11,15 @@ #include "ghcconfig.h" -/* redefined in HsBaseConfig.h */ -#ifdef PACKAGE_NAME -# undef PACKAGE_NAME -#endif -#ifdef PACKAGE_STRING -# undef PACKAGE_STRING -#endif -#ifdef PACKAGE_BUGREPORT -# undef PACKAGE_BUGREPORT -#endif -#ifdef PACKAGE_TARNAME -# undef PACKAGE_TARNAME -#endif - #include "HsBaseConfig.h" + +/* ultra-evil... */ +#undef PACKAGE_BUGREPORT +#undef PACKAGE_NAME +#undef PACKAGE_STRING +#undef PACKAGE_TARNAME +#undef PACKAGE_VERSION + #include "HsFFI.h" #include -- 1.7.10.4