summaryrefslogtreecommitdiff
path: root/editors/xemacs/patches/patch-src_config.h.in
blob: f8d75470b6a4feb6ae54f1af8e8771071d7eaf0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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.

--- src/config.h.in.orig	2015-01-29 15:04:29.000000000 +0000
+++ src/config.h.in
@@ -853,7 +853,7 @@ on various systems. */
 /* 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