Skip to content

Commit

Permalink
Attempt to fix MSVC link error w/ kC4Cpp_DefaultLog
Browse files Browse the repository at this point in the history
  • Loading branch information
snej committed Dec 11, 2024
1 parent 49ca97c commit 452fd24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions LiteCore/Support/Logging.hh
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ namespace litecore {
static std::vector<alloc_slice> sInternedNames;
};

extern "C" CBL_CORE_API LogDomain kC4Cpp_DefaultLog;
extern LogDomain BlobLog, DBLog, QueryLog, SyncLog, &ActorLog;
extern "C" {
CBL_CORE_API extern LogDomain kC4Cpp_DefaultLog;
}
extern LogDomain BlobLog, DBLog, QueryLog, SyncLog, &ActorLog;


#define LogToAt(DOMAIN, LEVEL, FMT, ...) \
Expand Down

0 comments on commit 452fd24

Please sign in to comment.