changeset 1193:d6ec9c17b5b9

Guard PARAMS-enabling definition with `defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi.
author Jim Meyering <jim@meyering.net>
date Sat, 03 Jan 1998 11:56:09 +0000
parents fcb9d43860d6
children d5be24a37d8d
files lib/save-cwd.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/save-cwd.h
+++ b/lib/save-cwd.h
@@ -8,7 +8,7 @@
   };
 
 # ifndef PARAMS
-#  if __STDC__
+#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
 #   define PARAMS(Args) Args
 #  else
 #   define PARAMS(Args) ()