diff options
Diffstat (limited to 'src/utf.c')
-rw-r--r-- | src/utf.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ ** This file contains routines used to translate between UTF-8, ** UTF-16, UTF-16BE, and UTF-16LE. ** -** $Id: utf.c,v 1.14 2004/05/29 02:44:02 danielk1977 Exp $ +** $Id: utf.c,v 1.15 2004/05/31 18:51:58 drh Exp $ ** ** Notes on UTF-8: ** @@ -62,9 +62,9 @@ struct UtfString { /* TODO: Implement this macro in os.h. It should be 1 on big-endian ** machines, and 0 on little-endian. */ -#define SQLITE3_NATIVE_BIGENDIAN 0 +#define SQLITE_NATIVE_BIGENDIAN 0 -#if SQLITE3_NATIVE_BIGENDIAN == 1 +#if SQLITE_NATIVE_BIGENDIAN == 1 #define BOM_BIGENDIAN 0x0000FFFE #define BOM_LITTLEENDIAN 0x0000FEFF #else @@ -523,7 +523,7 @@ static void utf16to16(void *pData, int N, int big_endian){ inout.n = sqlite3utf16ByteLen(inout.pZ, -1); } - if( readUtf16Bom(&inout, SQLITE3_BIGENDIAN)!=big_endian ){ + if( readUtf16Bom(&inout, SQLITE_BIGENDIAN)!=big_endian ){ /* swab(&inout.pZ[inout.c], inout.pZ, inout.n-inout.c); */ int i; for(i=0; i<(inout.n-inout.c); i += 2){ |