summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/base-defs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/krb5/base-defs.h b/src/include/krb5/base-defs.h
index b65b0703c..b8a9e8134 100644
--- a/src/include/krb5/base-defs.h
+++ b/src/include/krb5/base-defs.h
@@ -61,16 +61,19 @@ typedef char * krb5_const_pointer;
#define PROTOTYPE(x) x
#if defined(__STDC__) || defined(STDARG_PROTOTYPES)
#define STDARG_P(x) x
-#endif
+#else
+#define STDARG_P(x) ()
+#endif /* defined(__STDC__) || defined(STDARG_PROTOTYPES) */
#ifdef NARROW_PROTOTYPES
#define DECLARG(type, val) type val
#define OLDDECLARG(type, val)
#else
#define DECLARG(type, val) val
#define OLDDECLARG(type, val) type val;
-#endif /* Narrow prototypes */
+#endif /* NARROW_PROTOTYPES */
#else
#define PROTOTYPE(x) ()
+#define STDARG_P(x) ()
#define DECLARG(type, val) val
#define OLDDECLARG(type, val) type val;
#endif /* STDC or PROTOTYPES */