From bf24c1e33768e680c8a2796fd743bb0fd8a1be77 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Thu, 18 Nov 1993 22:54:21 +0000 Subject: [PATCH] The AIX C compiler does not sign-extend characters correctly. --- v7/src/microcode/regex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/src/microcode/regex.c b/v7/src/microcode/regex.c index 90e79942b..a9c36c2e9 100644 --- a/v7/src/microcode/regex.c +++ b/v7/src/microcode/regex.c @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: regex.c,v 1.13 1993/06/24 07:09:38 gjr Exp $ +$Id: regex.c,v 1.14 1993/11/18 22:54:21 gjr Exp $ -Copyright (c) 1987-1992 Massachusetts Institute of Technology +Copyright (c) 1987-1993 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -49,7 +49,7 @@ extern char * malloc (); extern char * realloc (); extern void free (); -#ifdef _IRIX4 +#if defined(_IRIX4) || defined(_AIX) #define SIGN_EXTEND_CHAR(x) ((((int) (x)) >= 0x80) \ ? (((int) (x)) - 0x100) \ : ((int) (x))) -- 2.25.1