1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

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
This commit is contained in:
drh
2023-05-01 20:09:52 +00:00
parent 1f02cd6cd6
commit 0f97dc28b0
3 changed files with 8 additions and 8 deletions

View File

@@ -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