add compatibility #defines for const, volatile
authorJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 14:11:38 +0000 (14:11 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 7 Feb 1990 14:11:38 +0000 (14:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@298 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/base-defs.h

index e1e038f560dcc2fd1a456ebff7c0a37a34209514..7f11355b8b65cbefd20d22b5f7e783d28465f452 100644 (file)
@@ -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__ */