diff options
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 4c2b64340..c3e3de6c0 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,13 +11,12 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.220 2004/02/25 13:47:33 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.221 2004/04/26 14:10:22 drh Exp $ */ #include "config.h" #include "sqlite.h" #include "hash.h" #include "parse.h" -#include "btree.h" #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -96,6 +95,9 @@ ** ** cc '-DUINTPTR_TYPE=long long int' ... */ +#ifndef UINT64_TYPE +# define UINT64_TYPE unsigned long long int +#endif #ifndef UINT32_TYPE # define UINT32_TYPE unsigned int #endif @@ -115,6 +117,7 @@ # define INTPTR_TYPE long long # endif #endif +typedef UINT64_TYPE u64; /* 8-byte unsigned integer */ typedef UINT32_TYPE u32; /* 4-byte unsigned integer */ typedef UINT16_TYPE u16; /* 2-byte unsigned integer */ typedef UINT8_TYPE u8; /* 1-byte unsigned integer */ @@ -126,6 +129,7 @@ typedef unsigned INTPTR_TYPE uptr; /* Big enough to hold a pointer */ ** Defer sourcing vdbe.h until after the "u8" typedef is defined. */ #include "vdbe.h" +#include "btree.h" /* ** Most C compilers these days recognize "long double", don't they? |