#ifndef INLINE
# if defined(_MSC_VER)
# define INLINE extern __inline
-# elif defined(__HUGS__)
-# define INLINE INLINE_ONLY
-# else
+# elif defined(__GNUC__)
# define INLINE extern inline
+# else
+# define INLINE inline
# endif
#endif
#endif
}
+#if __GLASGOW_HASKELL__
+
INLINE HsInt
__hscore_PrelHandle_write( HsInt fd, HsAddr ptr, HsInt off, int sz )
{
}
#endif
+#endif /* __GLASGOW_HASKELL__ */
+
#if defined(mingw32_HOST_OS) || defined(_MSC_VER)
INLINE long *
__hscore_Time_ghcTimezone( void ) { return &_timezone; }
INLINE int __hscore_CSIDL_PERSONAL() { return CSIDL_PERSONAL; }
#endif
+#if defined(mingw32_HOST_OS)
+INLINE unsigned int __hscore_get_osver(void) { return _osver; }
+#endif
+
/* ToDo: write a feature test that doesn't assume 'environ' to
* be in scope at link-time. */
extern char** environ;