diff options
Diffstat (limited to 'devel/hugs-unix/patches/patch-include_HsUnix.h')
-rw-r--r-- | devel/hugs-unix/patches/patch-include_HsUnix.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/hugs-unix/patches/patch-include_HsUnix.h b/devel/hugs-unix/patches/patch-include_HsUnix.h new file mode 100644 index 00000000000..9c6ca327999 --- /dev/null +++ b/devel/hugs-unix/patches/patch-include_HsUnix.h @@ -0,0 +1,19 @@ +$NetBSD: patch-include_HsUnix.h,v 1.1 2013/03/24 17:00:53 joerg Exp $ + +--- include/HsUnix.h.orig 2013-03-24 15:10:05.000000000 +0000 ++++ include/HsUnix.h +@@ -82,13 +82,7 @@ + + extern char **environ; + +-#ifndef INLINE +-# if defined(__GNUC__) +-# define INLINE extern inline +-# else +-# define INLINE inline +-# endif +-#endif ++#define INLINE static inline + + INLINE int __hsunix_wifexited (int stat) { return WIFEXITED(stat); } + INLINE int __hsunix_wexitstatus (int stat) { return WEXITSTATUS(stat); } |