use Nhc98BaseConfig.h rather than HsDirectoryConfig.h
[haskell-directory.git] / include / HsDirectory.h
index b74f069..e5c4fb3 100644 (file)
@@ -9,7 +9,11 @@
 #ifndef __HSDIRECTORY_H__
 #define __HSDIRECTORY_H__
 
+#ifdef __NHC__
+#include "Nhc98BaseConfig.h"
+#else
 #include "HsDirectoryConfig.h"
+#endif
 // Otherwise these clash with similar definitions from other packages:
 #undef PACKAGE_BUGREPORT
 #undef PACKAGE_NAME