summaryrefslogtreecommitdiffstats
path: root/src/util/db2/include
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1996-11-11 22:03:50 +0000
committerMark Eichin <eichin@mit.edu>1996-11-11 22:03:50 +0000
commit28208a459a7c3305dd2f7b0e4076b2cd74412bee (patch)
tree5aaedfa852fe72a5caa38050c2e7d5d4e01e5faa /src/util/db2/include
parentb4e07db1468aa2b627f2472c3c88bda0877ca009 (diff)
downloadkrb5-28208a459a7c3305dd2f7b0e4076b2cd74412bee.tar.gz
krb5-28208a459a7c3305dd2f7b0e4076b2cd74412bee.tar.xz
krb5-28208a459a7c3305dd2f7b0e4076b2cd74412bee.zip
* db2: overflow_page fixes, __P redef
* db2 tests: better alternate dictionary support (orignal ChangeLogs included) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9373 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/db2/include')
-rw-r--r--src/util/db2/include/db.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/db2/include/db.h b/src/util/db2/include/db.h
index db19429e3..53c587b75 100644
--- a/src/util/db2/include/db.h
+++ b/src/util/db2/include/db.h
@@ -90,11 +90,13 @@ typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE;
/* deal with turning prototypes on and off */
+#ifndef __P
#if defined(__STDC__) || defined(__cplusplus)
#define __P(protos) protos /* full-blown ANSI C */
#else /* !(__STDC__ || __cplusplus) */
#define __P(protos) () /* traditional C preprocessor */
#endif
+#endif /* no __P from system */
/* Access method description structure. */
typedef struct __db {