From 080d12f882cafd593199b57b8f6721295fcfabcc Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 8 Oct 1995 15:23:41 +0000 Subject: [PATCH] Test __IBMC__ in addition to __STDC__ because the IBM OS/2 C compiler defines __STDC__ to mean "strict ANSI" rather than "ANSI features supported". --- v7/src/microcode/cmpint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/cmpint.c b/v7/src/microcode/cmpint.c index 894563ea7..c4787d04b 100644 --- a/v7/src/microcode/cmpint.c +++ b/v7/src/microcode/cmpint.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: cmpint.c,v 1.85 1995/10/05 03:27:29 cph Exp $ +$Id: cmpint.c,v 1.86 1995/10/08 15:23:41 cph Exp $ Copyright (c) 1989-95 Massachusetts Institute of Technology @@ -139,7 +139,7 @@ MIT in each case. */ #define ASM_ENTRY_POINT(name) name #endif -#ifdef __STDC__ +#if defined(__STDC__) || defined(__IBMC__) #define EXFNX(name, proto) ASM_ENTRY_POINT (name) proto #define DEFNX(name, arglist, args) ASM_ENTRY_POINT (name) (args) #define DEFNX_VOID(name) ASM_ENTRY_POINT (name) (void) -- 2.25.1