projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e021628
)
add compatibility #defines for const, volatile
author
John Kohl
<jtkohl@mit.edu>
Wed, 7 Feb 1990 14:11:38 +0000
(14:11 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/src/include/krb5/base-defs.h
b/src/include/krb5/base-defs.h
index e1e038f560dcc2fd1a456ebff7c0a37a34209514..7f11355b8b65cbefd20d22b5f7e783d28465f452 100644
(file)
--- 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__ */