[project @ 2004-10-06 23:45:37 by dons]
authordons <unknown>
Wed, 6 Oct 2004 23:45:37 +0000 (23:45 +0000)
committerdons <unknown>
Wed, 6 Oct 2004 23:45:37 +0000 (23:45 +0000)
Fix order of PACKAGE_* #undefs. They must appear before HsBaseConfig.h

include/HsBase.h

index c27140e..75f9045 100644 (file)
 
 #include "ghcconfig.h"
 
-#include "HsBaseConfig.h"
-
-/* ultra-evil... */
+/* ultra-evil... must come before HsBaseConfig.h */
 #undef PACKAGE_BUGREPORT
 #undef PACKAGE_NAME
 #undef PACKAGE_STRING
 #undef PACKAGE_TARNAME
 #undef PACKAGE_VERSION
 
+#include "HsBaseConfig.h"
+
 #include "HsFFI.h"
 
 #include <stdio.h>