Generalize to macintosh.

This commit is contained in:
Guido van Rossum 1991-06-24 22:30:42 +00:00
parent 1e2293d1f7
commit d6a15ada72
6 changed files with 34 additions and 24 deletions

View file

@ -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