From: Jim Meyering Date: Sat, 3 Jan 1998 11:56:09 +0000 (+0000) Subject: Guard PARAMS-enabling definition with X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce90c371f7e617a7e25da8a86f51d53c1c300d67;p=pspp Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi. --- diff --git a/lib/save-cwd.h b/lib/save-cwd.h index 27b2cef800..4801a4da3a 100644 --- a/lib/save-cwd.h +++ b/lib/save-cwd.h @@ -8,7 +8,7 @@ struct saved_cwd }; # ifndef PARAMS -# if __STDC__ +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) # define PARAMS(Args) Args # else # define PARAMS(Args) ()