From: John Kohl Date: Wed, 7 Feb 1990 14:11:38 +0000 (+0000) Subject: add compatibility #defines for const, volatile X-Git-Tag: krb5-1.0-alpha2~1086 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=52798a00a252735de051a95316b1a924930dfe92;p=krb5.git add compatibility #defines for const, volatile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@298 dc483132-0cff-0310-8789-dd5450dbe970 --- 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__ */