Index: third_party/sqlite/src/tool/speedtest16.c |
diff --git a/third_party/sqlite/src/tool/speedtest16.c b/third_party/sqlite/src/tool/speedtest16.c |
index e81f1a6dba0e067fbd84677ad6ba7fa5a5c4ec66..993cc1926840bd3b68fc0ff12ac41d769d0f9e45 100644 |
--- a/third_party/sqlite/src/tool/speedtest16.c |
+++ b/third_party/sqlite/src/tool/speedtest16.c |
@@ -29,6 +29,8 @@ |
#include <unistd.h> |
#include "sqlite3.h" |
+#define ISSPACE(X) isspace((unsigned char)(X)) |
+ |
/* |
** hwtime.h contains inline assembler code for implementing |
** high-performance timing routines. |
@@ -140,7 +142,7 @@ int main(int argc, char **argv){ |
zSql[j+1] = c; |
if( isComplete ){ |
zSql[j] = 0; |
- while( i<j && isspace(zSql[i]) ){ i++; } |
+ while( i<j && ISSPACE(zSql[i]) ){ i++; } |
if( i<j ){ |
nStmt++; |
nByte += j-i; |