summaryrefslogtreecommitdiffstats
path: root/Include/pgenheaders.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-12-20 23:13:00 (GMT)
committerGuido van Rossum <guido@python.org>1990-12-20 23:13:00 (GMT)
commitb156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d (patch)
tree96ba67ffffd5071a1d6a118de701fde7da999a11 /Include/pgenheaders.h
parent73531a3bae554998dd7d6d5d782d44fbf0da2ee8 (diff)
downloadcpython-b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d.zip
cpython-b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d.tar.gz
cpython-b156d7259bd8b2c84ca7f8e8e9e8e24d4a49870d.tar.bz2
Changes for THINK C 4.0.
Diffstat (limited to 'Include/pgenheaders.h')
-rw-r--r--Include/pgenheaders.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/Include/pgenheaders.h b/Include/pgenheaders.h
index 95fdbf2..b53fdf2 100644
--- a/Include/pgenheaders.h
+++ b/Include/pgenheaders.h
@@ -2,13 +2,24 @@
This is a precompiled header for THINK C. */
#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_
-#include <proto.h>
#undef label
#endif
+#ifdef THINK_C_3_0
+#include <proto.h>
+#endif
+
+#ifdef THINK_C
+#ifndef THINK_C_3_0
+#include <stdlib.h>
+#endif
+#endif
+
#include "PROTO.h"
#include "malloc.h"