diff options
Diffstat (limited to 'tool/speedtest16.c')
-rw-r--r-- | tool/speedtest16.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/speedtest16.c b/tool/speedtest16.c index e81f1a6db..993cc1926 100644 --- a/tool/speedtest16.c +++ b/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; |