summaryrefslogtreecommitdiff
path: root/cad/gwave/patches/patch-aa
blob: 539e2a5a783c17a81be664f1ec9c83affdd7009a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.5 2007/11/15 23:53:48 dmcmahill Exp $

- fix __inline__ which sunpro doesn't like

--- src/scwm_guile.c.orig	2005-12-23 05:07:36.000000000 +0000
+++ src/scwm_guile.c
@@ -42,6 +42,12 @@
 #include "dmalloc.h"
 #endif
 
+#ifndef __GNUC__
+#ifndef __inline__
+#define __inline__ 
+#endif
+#endif
+
 extern char *prog_name;
 
 XSCM_HOOK(error_hook, "error-hook", 5, (SCM a, SCM b, SCM c, SCM d, SCM e),