mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00
clang fix (nw)
This commit is contained in:
parent
38d366edbb
commit
08777d43b0
12
3rdparty/sqlite3/sqlite3.c
vendored
12
3rdparty/sqlite3/sqlite3.c
vendored
@ -8641,11 +8641,6 @@ typedef INT16_TYPE LogEst;
|
||||
** -DSQLITE_RUNTIME_BYTEORDER=1 is set, then byte-order is determined
|
||||
** at run-time.
|
||||
*/
|
||||
#ifdef SQLITE_AMALGAMATION
|
||||
SQLITE_PRIVATE const int sqlite3one = 1;
|
||||
#else
|
||||
SQLITE_PRIVATE const int sqlite3one;
|
||||
#endif
|
||||
#if (defined(i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \
|
||||
defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \
|
||||
@ -8663,6 +8658,11 @@ SQLITE_PRIVATE const int sqlite3one;
|
||||
# define SQLITE_UTF16NATIVE SQLITE_UTF16BE
|
||||
#endif
|
||||
#if !defined(SQLITE_BYTEORDER)
|
||||
#ifdef SQLITE_AMALGAMATION
|
||||
SQLITE_PRIVATE const int sqlite3one = 1;
|
||||
#else
|
||||
SQLITE_PRIVATE const int sqlite3one;
|
||||
#endif
|
||||
# define SQLITE_BYTEORDER 0 /* 0 means "unknown at compile-time" */
|
||||
# define SQLITE_BIGENDIAN (*(char *)(&sqlite3one)==0)
|
||||
# define SQLITE_LITTLEENDIAN (*(char *)(&sqlite3one)==1)
|
||||
@ -22303,7 +22303,7 @@ SQLITE_PRIVATE int sqlite3ThreadJoin(SQLiteThread *p, void **ppOut){
|
||||
** The following constant value is used by the SQLITE_BIGENDIAN and
|
||||
** SQLITE_LITTLEENDIAN macros.
|
||||
*/
|
||||
SQLITE_PRIVATE const int sqlite3one = 1;
|
||||
//SQLITE_PRIVATE const int sqlite3one = 1;
|
||||
#endif /* SQLITE_AMALGAMATION */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user