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