summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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) ()