[project @ 2004-10-06 10:13:07 by ross]
authorross <unknown>
Wed, 6 Oct 2004 10:13:07 +0000 (10:13 +0000)
committerross <unknown>
Wed, 6 Oct 2004 10:13:07 +0000 (10:13 +0000)
make the evil PACKAGE_* hacks consistent

include/HsBase.h

index 1af22ca..9738ffc 100644 (file)
 
 #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 <stdio.h>