Skip to content

Commit

Permalink
Merge branch 'SRombauts:master' into meson-macos-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UnixY2K authored Dec 14, 2022
2 parents f9188f8 + 403839d commit 1b376c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/SQLiteCpp/Database.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_13_0

// disable the support if the required header is not available
#ifdef __has_include
#ifndef __has_include(<filesystem>)
#if !__has_include(<filesystem>)
#undef SQLITECPP_HAVE_STD_FILESYSTEM
#endif
#ifndef __has_include(<experimental/filesystem>)
#if !__has_include(<experimental/filesystem>)
#undef SQLITECPP_HAVE_EXPERIMENTAL_FILESYSTEM
#endif
#endif
Expand Down
2 changes: 2 additions & 0 deletions tests/Database_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ void assertion_failed(const char* apFile, const long apLine, const char* apFunc,
}
#endif

#ifdef SQLITECPP_INTERNAL_SQLITE
TEST(SQLiteCpp, version)
{
EXPECT_STREQ(SQLITE_VERSION, SQLite::VERSION);
EXPECT_EQ (SQLITE_VERSION_NUMBER, SQLite::VERSION_NUMBER);
EXPECT_STREQ(SQLITE_VERSION, SQLite::getLibVersion());
EXPECT_EQ (SQLITE_VERSION_NUMBER, SQLite::getLibVersionNumber());
}
#endif

TEST(Database, ctorExecCreateDropExist)
{
Expand Down

0 comments on commit 1b376c8

Please sign in to comment.