mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
18 lines
564 B
C
18 lines
564 B
C
$NetBSD: patch-packages_base_include_HsBase.h,v 1.1 2012/11/11 22:30:09 joerg Exp $
|
|
|
|
--- packages/base/include/HsBase.h.orig 2006-09-20 22:01:52.000000000 +0000
|
|
+++ packages/base/include/HsBase.h
|
|
@@ -221,7 +221,11 @@ StgWord64 stg_integerToWord64 (StgInt sa
|
|
# if defined(_MSC_VER)
|
|
# define INLINE extern __inline
|
|
# elif defined(__GNUC__)
|
|
-# define INLINE extern inline
|
|
+# ifdef __GNUC_STDC_INLINE__
|
|
+# define INLINE extern inline __attribute__((__gnu_inline__))
|
|
+# else
|
|
+# define INLINE extern inline
|
|
+# endif
|
|
# else
|
|
# define INLINE inline
|
|
# endif
|