summaryrefslogtreecommitdiffstats
path: root/Include/pgenheaders.h
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 /Include/pgenheaders.h
parent1e2293d1f713b8fd74233aa0f66bf413b7c4ff33 (diff)
downloadcpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.zip
cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.tar.gz
cpython-d6a15ada727e586dc7b2cce8115e65d0abb0d1aa.tar.bz2
Generalize to macintosh.
Diffstat (limited to 'Include/pgenheaders.h')
-rw-r--r--Include/pgenheaders.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Include/pgenheaders.h b/Include/pgenheaders.h
index 4712431..59c7e32 100644
--- a/Include/pgenheaders.h
+++ b/Include/pgenheaders.h
@@ -25,11 +25,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Include files and extern declarations used by most of the parser.
This is a precompiled header for THINK C. */
+#ifdef THINK_C
+#define macintosh
+/* #define THINK_C_3_0 /*** TURN THIS ON FOR THINK C 3.0 ***/
+#endif
+
#include <stdio.h>
#include <string.h>
#ifdef THINK_C
-/* #define THINK_C_3_0 /*** TURN THIS ON FOR THINK C 3.0 ****/
#define label label_
#undef label
#endif
@@ -38,7 +42,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <proto.h>
#endif
-#ifdef THINK_C
+#ifdef macintosh
#ifndef THINK_C_3_0
#include <stdlib.h>
#endif