fixes wrong LEVELDB_PLATFORM define

This commit is contained in:
Ben 2024-05-13 11:38:49 +02:00
parent c923f31e31
commit 1538f9a1da
No known key found for this signature in database
GPG Key ID: 541B9D8C9F1426A1
1 changed files with 4 additions and 3 deletions

View File

@ -6,10 +6,11 @@ const envPosix = root/"vendor"/"util"/"env_posix.cc"
when defined(windows):
{.compile: envWindows.}
{.passc: "-DLEVELDB_PLATFORM_POSIX".}
{.passc: "-DLEVELDB_PLATFORM_WINDOWS".}
{.passc: "-D_UNICODE".}
{.passc: "-DUNICODE".}
when defined(posix):
{.compile: envPosix.}
{.passc: "-DLEVELDB_PLATFORM_WINDOWS".}
{.passc: "-DLEVELDB_PLATFORM_POSIX".}