]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix harmless macro redefinition warnings in the totype extension.
authormistachkin <mistachkin@noemail.net>
Tue, 15 Oct 2013 10:43:04 +0000 (10:43 +0000)
committermistachkin <mistachkin@noemail.net>
Tue, 15 Oct 2013 10:43:04 +0000 (10:43 +0000)
FossilOrigin-Name: a38adeb7ffd77474754b66877d60717cdb3cb865

ext/misc/totype.c
manifest
manifest.uuid

index bb4acb267d8d9ea6c2e6ca2101243f4e954398ea..5dc99f3d7dc5f36ba4adf311e18b55a24bc29e7e 100644 (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
index 787b5222085a89591ab99eb343af92f96dd30b76..f74bebdfc2609c1aa0cd4633459b4a3175dc7997 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sharmless\scompiler\swarning\sin\sthe\stotype\sextension.\s\sInclude\sall\sstandard\swhitespace\scharacters\sin\stotypeIsspace.\s\sMinor\sadjustments\sto\sstyle\sand\scomments.
-D 2013-10-14T22:35:40.075
+C Fix\sharmless\smacro\sredefinition\swarnings\sin\sthe\stotype\sextension.
+D 2013-10-15T10:43:04.884
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 0522b53cdc1fcfc18f3a98e0246add129136c654
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -115,7 +115,7 @@ F ext/misc/percentile.c bcbee3c061b884eccb80e21651daaae8e1e43c63
 F ext/misc/regexp.c af92cdaa5058fcec1451e49becc7ba44dba023dc
 F ext/misc/rot13.c 1ac6f95f99b575907b9b09c81a349114cf9be45a
 F ext/misc/spellfix.c 5e1d547e9a2aed13897fa91bac924333f62fd2d9
-F ext/misc/totype.c 86eeb8efb5c0e1a09d713e4183ff1eda95c8f342
+F ext/misc/totype.c 4a167594e791abeed95e0a8db028822b5e8fe512
 F ext/misc/vfslog.c 1abb192d8d4bd323adbddec0c024580496b51b7a
 F ext/misc/vtshim.c babb0dc2bf116029e3e7c9a618b8a1377045303e
 F ext/misc/wholenumber.c 784b12543d60702ebdd47da936e278aa03076212
@@ -1125,7 +1125,10 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01
 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
-P 9f66dd7e3790c04f0ab724419f5381bd21f9ebad
-R f21c7b96aefc2201770b50ac2899ad7e
+P 73238f655a58c810876f46cc04eab1ac2d5b8ef7
+R 0fe1cba58471de6f4ef89edb477677c8
+T *branch * noWarnings
+T *sym-noWarnings *
+T -sym-trunk *
 U mistachkin
-Z 42e92dc11d48272f024e4ddd08e08231
+Z 63a2ac2e5d8e33918534e02f647beddb
index d796a6ec137aa34e5f3e420741c340d04cc37579..43452c755f91f9b7aa43e457b9a611465f5279e7 100644 (file)
@@ -1 +1 @@
-73238f655a58c810876f46cc04eab1ac2d5b8ef7
\ No newline at end of file
+a38adeb7ffd77474754b66877d60717cdb3cb865
\ No newline at end of file