1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix harmless macro redefinition warnings in the totype extension.

FossilOrigin-Name: a38adeb7ffd77474754b66877d60717cdb3cb865
This commit is contained in:
mistachkin
2013-10-15 10:43:04 +00:00
parent 0593516fcc
commit bc863b50ba
3 changed files with 17 additions and 9 deletions

View File

@ -56,8 +56,13 @@ SQLITE_EXTENSION_INIT1
** These macros are designed to work correctly on both 32-bit and 64-bit
** compilers.
*/
#define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32))
#define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64)
#ifndef LARGEST_INT64
# define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32))
#endif
#ifndef SMALLEST_INT64
# define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64)
#endif
/*
** Return TRUE if character c is a whitespace character