summaryrefslogtreecommitdiffstats
path: root/src/util/db2/include
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1996-08-28 21:27:24 +0000
committerTom Yu <tlyu@mit.edu>1996-08-28 21:27:24 +0000
commit17b173905de7f946a38e06af0749ec8ef5e156cf (patch)
treeea6da5407f6a020fdc243e36d5830d22bf1fb002 /src/util/db2/include
parent24ac76a3a528812087243ea60f7d17dacec282b1 (diff)
* configure.in: Add check for SIZEOF_INT
* include/db.h: Check SIZEOF_INT rather than UINT_MAX; it's broken under Ultrix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8997 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/db2/include')
-rw-r--r--src/util/db2/include/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/db2/include/db.h b/src/util/db2/include/db.h
index 6b5c04e6b..db19429e3 100644
--- a/src/util/db2/include/db.h
+++ b/src/util/db2/include/db.h
@@ -78,7 +78,7 @@ typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE;
* is so that the access methods can skip copying the key/data pair when
* the DB_LOCK flag isn't set.
*/
-#if UINT_MAX > 65535
+#if SIZEOF_INT == 4
#define DB_LOCK 0x20000000 /* Do locking. */
#define DB_SHMEM 0x40000000 /* Use shared memory. */
#define DB_TXN 0x80000000 /* Do transactions. */