[project @ 2004-10-02 07:14:38 by dons]
authordons <unknown>
Sat, 2 Oct 2004 07:14:38 +0000 (07:14 +0000)
committerdons <unknown>
Sat, 2 Oct 2004 07:14:38 +0000 (07:14 +0000)
Undef PACKAGE_NAME PACKAGE_STRING PACKAGE_BUGREPORT PACKAGE_TARNAME
coming in from ghcconfig.h, so that we can use HsBaseConfig.h versions
without screenfulls of cpp warnings.

include/HsBase.h

index 5e7a767..1af22ca 100644 (file)
 #define __HSBASE_H__
 
 #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"
 #include "HsFFI.h"