From 52798a00a252735de051a95316b1a924930dfe92 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 7 Feb 1990 14:11:38 +0000 Subject: [PATCH] add compatibility #defines for const, volatile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@298 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/base-defs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/krb5/base-defs.h b/src/include/krb5/base-defs.h index e1e038f56..7f11355b8 100644 --- a/src/include/krb5/base-defs.h +++ b/src/include/krb5/base-defs.h @@ -57,6 +57,9 @@ typedef krb5_data ** krb5_principal; /* array of strings */ typedef void * krb5_pointer; #define PROTOTYPE(x) x #else +/* make const & volatile available without effect */ +#define const +#define volatile typedef char * krb5_pointer; #define PROTOTYPE(x) () #endif /* __STDC__ */ -- 2.26.2