mirror of
https://github.com/codex-storage/nim-leveldb.git
synced 2025-02-22 04:18:18 +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):
|
when defined(windows):
|
||||||
{.compile: envWindows.}
|
{.compile: envWindows.}
|
||||||
{.passc: "-DLEVELDB_PLATFORM_POSIX".}
|
{.passc: "-DLEVELDB_PLATFORM_WINDOWS".}
|
||||||
|
{.passc: "-D_UNICODE".}
|
||||||
|
{.passc: "-DUNICODE".}
|
||||||
|
|
||||||
when defined(posix):
|
when defined(posix):
|
||||||
{.compile: envPosix.}
|
{.compile: envPosix.}
|
||||||
{.passc: "-DLEVELDB_PLATFORM_WINDOWS".}
|
{.passc: "-DLEVELDB_PLATFORM_POSIX".}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user