pkgsrc/graphics/xfig/patches/patch-ae
2006-06-02 12:13:03 +00:00

18 lines
458 B
Text

$NetBSD: patch-ae,v 1.3 2006/06/02 12:13:03 rillig Exp $
SunPro does not understand __inline, only inline.
--- fig.h.orig 2004-01-06 20:47:36.000000000 +0100
+++ fig.h 2006-06-02 12:41:17.122524864 +0200
@@ -353,7 +353,11 @@ extern char *getenv();
#define signof(a) (((a) < 0) ? -1 : 1)
#ifdef USE_INLINE
+# if defined(__SUNPRO_C)
+# define INLINE inline
+# else
#define INLINE __inline
+# endif
#else
#define INLINE
#endif /* USE_INLINE */