From: Chris Hanson Date: Tue, 17 Apr 1990 22:20:00 +0000 (+0000) Subject: For hp-ux 7.0, must define _HPUX_SOURCE if the compiler is ANSI C. X-Git-Tag: 20090517-FFI~11425 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2079fcbae21ff132a1f4c4822a13c2b49cbcaf17;p=mit-scheme.git For hp-ux 7.0, must define _HPUX_SOURCE if the compiler is ANSI C. --- diff --git a/v7/src/microcode/s/hpux.h b/v7/src/microcode/s/hpux.h index f072fd417..daa96500b 100644 --- a/v7/src/microcode/s/hpux.h +++ b/v7/src/microcode/s/hpux.h @@ -1,7 +1,7 @@ /* -*-C-*- System file for HP-UX -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/s/Attic/hpux.h,v 1.4 1990/01/16 19:57:57 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/s/Attic/hpux.h,v 1.5 1990/04/17 22:20:00 cph Exp $ Copyright (c) 1989, 1990 Massachusetts Institute of Technology @@ -52,3 +52,10 @@ MIT in each case. */ #ifndef INSTALL_PROGRAM #define INSTALL_PROGRAM cp #endif + +#ifdef ALTERNATE_CC +/* If the alternate compiler defines __STDC__ this macro must also be + defined or the include files don't define many necessary symbols. + In any case this definition does no harm. */ +#define C_SWITCH_SYSTEM -D_HPUX_SOURCE +#endif