aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/HsUnix.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/HsUnix.h b/include/HsUnix.h
index 3c6ab6c..1923769 100644
--- a/include/HsUnix.h
+++ b/include/HsUnix.h
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: HsUnix.h,v 1.12 2003/12/15 16:57:30 ross Exp $
+ * $Id: HsUnix.h,v 1.13 2004/02/05 11:46:00 ross Exp $
*
* (c) The University of Glasgow 2002
*
@@ -75,8 +75,12 @@ extern void pPrPr_disableITimers (void);
extern char **environ;
#ifndef INLINE
+#ifdef __HUGS__
+#define INLINE INLINE_ONLY
+#else
#define INLINE extern inline
#endif
+#endif
INLINE int __hsunix_wifexited (int stat) { return WIFEXITED(stat); }
INLINE int __hsunix_wexitstatus (int stat) { return WEXITSTATUS(stat); }