summaryrefslogtreecommitdiff
path: root/devel/hugs-unix/patches/patch-include_HsUnix.h
blob: 9c6ca327999be1f8f4da6f0abd07206dbb6a441e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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); }