aboutsummaryrefslogtreecommitdiffstats
path: root/atari
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:30:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:30:13 +0300
commit66b0bdd602e952f20fa98f6ce5430cea68d4f598 (patch)
tree0b5f379a44720da132f3bd6a66cd900ca821a9aa /atari
parent61bb57af53ebe916d2db6e3585d4fc7ac1d99b92 (diff)
downloadegawk-66b0bdd602e952f20fa98f6ce5430cea68d4f598.tar.gz
egawk-66b0bdd602e952f20fa98f6ce5430cea68d4f598.tar.bz2
egawk-66b0bdd602e952f20fa98f6ce5430cea68d4f598.zip
Move to gawk-2.15.4.
Diffstat (limited to 'atari')
-rw-r--r--atari/Makefile.st7
-rw-r--r--atari/config.h8
2 files changed, 10 insertions, 5 deletions
diff --git a/atari/Makefile.st b/atari/Makefile.st
index d3c8104a..33e9e3c2 100644
--- a/atari/Makefile.st
+++ b/atari/Makefile.st
@@ -5,7 +5,7 @@
# and modified system().
# Check comments in this Makefile and adjust to your needs!!
#
-# Copyright (C) 1986, 1988-1992 the Free Software Foundation, Inc.
+# Copyright (C) 1986, 1988-1993 the Free Software Foundation, Inc.
#
# This file is part of GAWK, the GNU implementation of the
# AWK Progamming Language.
@@ -58,7 +58,8 @@ ALLOBJS = $(AWKOBJS) awktab.o
# GNUOBJS
# GNU stuff that gawk uses as library routines.
-GNUOBJS= rx.o dfa.o
+REGEX = regex
+GNUOBJS= $(REGEX).o dfa.o
all: gawk.ttp
@@ -68,7 +69,7 @@ gawk.ttp: $(ALLOBJS) $(GNUOBJS) $(REOBJS) $(LIBOBJS) $(ST_LIBOBJS)
toglclr -fload $@
# xstrip -k $@
-$(AWKOBJS) $(GNUOBJS): awk.h dfa.h regex.h config.h
+$(AWKOBJS) $(GNUOBJS): awk.h dfa.h $(REGEX).h config.h
# cheat with defines to force an inclusion of a proper code
getopt.o: getopt.h
diff --git a/atari/config.h b/atari/config.h
index bac95acd..28c855bd 100644
--- a/atari/config.h
+++ b/atari/config.h
@@ -59,5 +59,9 @@
#undef _MINIX /* on Minix, used to get Posix functions */
#undef _POSIX_1_SOURCE /* on Minix, define to 2 */
-
-
+/*
+ * define const to nothing if not __STDC__
+ */
+#ifndef __STDC__
+#define const
+#endif