* (PATH_MAX is not defined on systems with unlimited path length,
* e.g. the Hurd).
*/
-INLINE HsInt __compat_long_path_size() { return PATH_MAX; }
+INLINE int __compat_long_path_size() { return PATH_MAX; }
#else
-INLINE HsInt __compat_long_path_size() { return 4096; }
+INLINE int __compat_long_path_size() { return 4096; }
#endif
#if defined(mingw32_HOST_OS)
+#if __GLASGOW_HASKELL__ < 604
/* Make sure we've got the reqd CSIDL_ constants in scope;
* w32api header files are lagging a bit in defining the full set.
INLINE int __hscore_CSIDL_WINDOWS() { return CSIDL_WINDOWS; }
INLINE int __hscore_CSIDL_PERSONAL() { return CSIDL_PERSONAL; }
-#if __GLASGOW_HASKELL__ < 604
/*
* Function: __hscore_getFolderPath()
*
/* ToDo: unload the DLL on shutdown? */
}
#endif /* __GLASGOW_HASKELL__ < 604 */
-#endif
+#endif /* mingw32_HOST_OS */