pkgsrc/editors/xemacs/patches/patch-src_config.h.in

16 lines
491 B
C
Raw Normal View History

$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