mirror of
https://github.com/codex-storage/nim-leveldb.git
synced 2025-02-19 19:08:34 +00:00
fixes wrong LEVELDB_PLATFORM define
This commit is contained in:
parent
c923f31e31
commit
1538f9a1da
@ -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".}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user