From: ross Date: Wed, 6 Oct 2004 10:13:07 +0000 (+0000) Subject: [project @ 2004-10-06 10:13:07 by ross] X-Git-Tag: nhc98-1-18-release~227 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cbb262f2caf17d9d2f6f8642df5cb24d89eaec8f;p=haskell-directory.git [project @ 2004-10-06 10:13:07 by ross] make the evil PACKAGE_* hacks consistent --- 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