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.
#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"