diff options
author | drh <> | 2024-10-03 16:31:08 +0000 |
---|---|---|
committer | drh <> | 2024-10-03 16:31:08 +0000 |
commit | 51bbf0c7b88db09970dd34844180b299db1ce032 (patch) | |
tree | 542e2d7164fbb03d1b0c8618d57dec361d3da90b /src | |
parent | 1e2834dd45069a664822ae3f75db00b8bf285e39 (diff) | |
download | sqlite-51bbf0c7b88db09970dd34844180b299db1ce032.tar.gz sqlite-51bbf0c7b88db09970dd34844180b299db1ce032.zip |
Unconditionally include <ctype.h> in sqliteInt.h, even in builds where
it is not needed.
FossilOrigin-Name: 825f01d7e258ac7981f715fd10708560381b079f0e026abc414cf56d16d862da
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 2b800abd9..0e0035ce6 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -638,6 +638,7 @@ #include <string.h> #include <assert.h> #include <stddef.h> +#include <ctype.h> /* ** Use a macro to replace memcpy() if compiled with SQLITE_INLINE_MEMCPY. @@ -4633,15 +4634,6 @@ int sqlite3CantopenError(int); #endif /* -** The ctype.h header is needed for non-ASCII systems. It is also -** needed by FTS3 when FTS3 is included in the amalgamation. -*/ -#if !defined(SQLITE_ASCII) || \ - (defined(SQLITE_ENABLE_FTS3) && defined(SQLITE_AMALGAMATION)) -# include <ctype.h> -#endif - -/* ** The following macros mimic the standard library functions toupper(), ** isspace(), isalnum(), isdigit() and isxdigit(), respectively. The ** sqlite versions only work for ASCII characters, regardless of locale. |