diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-01-14 17:08:27 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-01-14 17:08:27 +0000 |
commit | 6e350b553bedcfe4694a7118d8b44f80266201f4 (patch) | |
tree | 8be4ab1f00c7a24b19cacbd527d83b6ec61aa265 /ext/sqlite/libsqlite/src/sqliteInt.h | |
parent | 49b698c67ed0f8408c54d0754672e552376b7554 (diff) | |
download | php-git-6e350b553bedcfe4694a7118d8b44f80266201f4.tar.gz |
Upgraded bundled libsqlite to 2.8.11 (fixed critical bug of *NIX systems).
Diffstat (limited to 'ext/sqlite/libsqlite/src/sqliteInt.h')
-rw-r--r-- | ext/sqlite/libsqlite/src/sqliteInt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/sqlite/libsqlite/src/sqliteInt.h b/ext/sqlite/libsqlite/src/sqliteInt.h index a4f8b27ad0..04a90dccf2 100644 --- a/ext/sqlite/libsqlite/src/sqliteInt.h +++ b/ext/sqlite/libsqlite/src/sqliteInt.h @@ -120,6 +120,15 @@ typedef INTPTR_TYPE ptr; /* Big enough to hold a pointer */ typedef unsigned INTPTR_TYPE uptr; /* Big enough to hold a pointer */ /* +** Most C compilers these days recognize "long double", don't they? +** Just in case we encounter one that does not, we will create a macro +** for long double so that it can be easily changed to just "double". +*/ +#ifndef LONGDOUBLE_TYPE +# define LONGDOUBLE_TYPE long double +#endif + +/* ** This macro casts a pointer to an integer. Useful for doing ** pointer arithmetic. */ |