aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2023-05-01 20:09:52 +0000
committerdrh <>2023-05-01 20:09:52 +0000
commit0f97dc28b02f6c0a9fd0ce6479135f436af12f9e (patch)
treea1ca7eb15c284e99cba6e805c1320ee8f758de60 /src/sqliteInt.h
parent1f02cd6cd657a6008ed3d1905666d43461f4ed84 (diff)
downloadsqlite-0f97dc28b02f6c0a9fd0ce6479135f436af12f9e.tar.gz
sqlite-0f97dc28b02f6c0a9fd0ce6479135f436af12f9e.zip
The gcc definition of the SQLITE_INLINE macro is not compatible with
string ANSI, so disable it if the -std=c89 command-line option is used. FossilOrigin-Name: 62d703d83cf8cf3358715792347c49315a82c659e475158e385746f4329a4f39
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index b06e19255..ebb21a251 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -294,7 +294,7 @@
# define SQLITE_NOINLINE
# define SQLITE_INLINE
#endif
-#if defined(SQLITE_COVERAGE_TEST)
+#if defined(SQLITE_COVERAGE_TEST) || defined(__STRICT_ANSI__)
# undef SQLITE_INLINE
# define SQLITE_INLINE
#endif