fix -pedantic bustage on Unix

git-svn-id: svn://10.0.0.236/trunk@22160 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com 1999-02-26 17:49:41 +00:00
parent c693124762
commit b8e8e7578e

View File

@ -289,6 +289,11 @@ typedef enum { LockOutDatabase, UnlockDatabase } DBLockFlagEnum;
#define DB_TXN 0x8000 /* Do transactions. */
#endif
/* if we're using gcc's -pedantic-errors, uint isn't defined */
#ifdef __STRICT_ANSI__
typedef unsigned int uint;
#endif
/* Access method description structure. */
typedef struct __db {
DBTYPE type; /* Underlying db type. */