mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: building mdbx-tools for Windows.
Change-Id: I9019c4382b7108ec7c442d2b0d4be044a3cb136a
This commit is contained in:
2
mdbx.h
2
mdbx.h
@@ -83,6 +83,7 @@ typedef SSIZE_T ssize_t;
|
||||
#define MDBX_ENOSYS ERROR_NOT_SUPPORTED
|
||||
#define MDBX_EIO ERROR_WRITE_FAULT
|
||||
#define MDBX_EPERM ERROR_INVALID_FUNCTION
|
||||
#define MDBX_EINTR ERROR_CANCELLED
|
||||
|
||||
#else
|
||||
|
||||
@@ -102,6 +103,7 @@ typedef pthread_t mdbx_tid_t;
|
||||
#define MDBX_ENOSYS ENOSYS
|
||||
#define MDBX_EIO EIO
|
||||
#define MDBX_EPERM EPERM
|
||||
#define MDBX_EINTR EINTR
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
Reference in New Issue
Block a user