summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-03 11:56:09 +0000
committerJim Meyering <jim@meyering.net>1998-01-03 11:56:09 +0000
commit541699c01cc5503edfd04cf36d1b7fd2d4760ff8 (patch)
tree66cf244b608d7d2a4a8311172b24a36d6844ad3a /lib
parent23a8ea79928cf050225bdd1d4d6473af3e04fb0c (diff)
downloadcoreutils-541699c01cc5503edfd04cf36d1b7fd2d4760ff8.tar.xz
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi.
Diffstat (limited to 'lib')
-rw-r--r--lib/save-cwd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/save-cwd.h b/lib/save-cwd.h
index 27b2cef80..4801a4da3 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) ()