summaryrefslogtreecommitdiff
path: root/src/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strftime.c b/src/strftime.c
index 00d50133b35..f2a0e08ce9e 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -98,7 +98,7 @@ extern char *tzname[];
#endif
#ifndef __P
-# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+# if defined (PROTOTYPES)
# define __P(args) args
# else
# define __P(args) ()