Require Cabal version >= 1.6
[haskell-directory.git] / cbits / directory.c
index 812216a..6ea722b 100644 (file)
@@ -1,4 +1,4 @@
-#ifdef __GLASGOW_HASKELL__
+#if defined(__GLASGOW_HASKELL__) || defined(__HUGS__)
 /* 
  * (c) The University of Glasgow 2002
  *
@@ -50,6 +50,6 @@ __hscore_getFolderPath(HWND hwndOwner,
     return (int)funcPtr(hwndOwner,nFolder,hToken,dwFlags,pszPath);
     /* ToDo: unload the DLL on shutdown? */
 }
-#endif
-#endif
+#endif /* WIN32 */
+#endif /* !__NHC__ */