summaryrefslogtreecommitdiffstats
path: root/Parser/pgenmain.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-06-24 22:30:42 (GMT)
committerGuido van Rossum <guido@python.org>1991-06-24 22:30:42 (GMT)
commitd6a15ada727e586dc7b2cce8115e65d0abb0d1aa (patch)
tree8088233a9c06c665d261f86046d0cf1ac5cea585 /Parser/pgenmain.c
parent1e2293d1f713b8fd74233aa0f66bf413b7c4ff33 (diff)
downloadcpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.zip
cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.tar.gz
cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.tar.bz2
Generalize to macintosh.
Diffstat (limited to 'Parser/pgenmain.c')
-rw-r--r--Parser/pgenmain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c
index c1bd486..da6aa2e 100644
--- a/Parser/pgenmain.c
+++ b/Parser/pgenmain.c
@@ -42,7 +42,7 @@ int debugging;
/* Forward */
grammar *getgrammar PROTO((char *filename));
-#ifdef THINK_C
+#ifdef macintosh
int main PROTO((int, char **));
char *askfile PROTO((void));
#endif
@@ -57,7 +57,7 @@ main(argc, argv)
FILE *fp;
char *filename;
-#ifdef THINK_C
+#ifdef macintosh
filename = askfile();
#else
if (argc != 2) {
@@ -115,7 +115,7 @@ getgrammar(filename)
return g;
}
-#ifdef THINK_C
+#ifdef macintosh
char *
askfile()
{