diff options
-rw-r--r-- | zwgc/exec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zwgc/exec.c b/zwgc/exec.c index efae0a1..27ff1d5 100644 --- a/zwgc/exec.c +++ b/zwgc/exec.c @@ -34,6 +34,10 @@ static char rcsid_exec_c[] = "$Id$"; #include "variables.h" #include "notice.h" +#if !defined(__STDC__) && !defined(const) +#define const +#endif + static int exec_subtree(), exec_fields(); /****************************************************************************/ @@ -351,7 +355,7 @@ static int exec_exec(node) static struct _Opstuff { int (*exec)(); -} opstuff[] = { +} const opstuff[] = { { exec_noop }, /* string_constant */ { exec_noop }, /* varref */ { exec_noop }, /* varname */ |