mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 02:36:04 -04:00
tests/Database_test.cpp: fix a warning around #endif
Without the change `gcc` detects unexpected tokens as: /build/source/tests/Database_test.cpp:566:9: warning: extra tokens at end of #endif directive [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wendif-labels-Wendif-labels8;;] 566 | #endif && !defined(__APPLE__) | ^~
This commit is contained in:
parent
52b24b9a37
commit
a534d50580
@ -563,7 +563,7 @@ TEST(Database, getHeaderInfo)
|
|||||||
// NOTE on macOS FindSQLite3 find an unrelated sqlite3.h from Mono.framework that doesn't match the actual package version!
|
// NOTE on macOS FindSQLite3 find an unrelated sqlite3.h from Mono.framework that doesn't match the actual package version!
|
||||||
#if defined(SQLITECPP_INTERNAL_SQLITE) || !defined(__APPLE__)
|
#if defined(SQLITECPP_INTERNAL_SQLITE) || !defined(__APPLE__)
|
||||||
EXPECT_EQ(h.sqliteVersion, SQLITE_VERSION_NUMBER);
|
EXPECT_EQ(h.sqliteVersion, SQLITE_VERSION_NUMBER);
|
||||||
#endif && !defined(__APPLE__)
|
#endif
|
||||||
}
|
}
|
||||||
remove("test.db3");
|
remove("test.db3");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user