2016-04-13 15:52:27 +02:00
|
|
|
$NetBSD: patch-src_config.h.in,v 1.3 2016/04/13 13:52:27 hauke Exp $
|
|
|
|
|
|
|
|
Always use static inline to fix build with C99 compilers.
|
2012-12-24 22:08:06 +01:00
|
|
|
|
2015-02-04 10:19:20 +01:00
|
|
|
--- src/config.h.in.orig 2015-01-29 15:04:29.000000000 +0000
|
2012-12-24 22:08:06 +01:00
|
|
|
+++ src/config.h.in
|
2015-02-04 10:19:20 +01:00
|
|
|
@@ -853,7 +853,7 @@ on various systems. */
|
2012-12-24 22:08:06 +01:00
|
|
|
/* Does the keyword `inline' exist? */
|
|
|
|
#undef inline
|
|
|
|
|
|
|
|
-#if defined (__cplusplus) || ! defined (__GNUC__)
|
|
|
|
+#if 1
|
|
|
|
# define INLINE_HEADER inline static
|
|
|
|
#elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
|
|
|
|
# define INLINE_HEADER inline
|