mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-31 11:08:22 +08:00
mdbx: fix mode_t typedef.
Fix https://github.com/leo-yuriev/libmdbx/issues/15 Change-Id: I32bb6b0fbc710c3706a66b398711c29cb6b9a241
This commit is contained in:
parent
728252058d
commit
876faab1d8
6
mdbx.h
6
mdbx.h
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>
|
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>
|
||||||
* and other libmdbx authors: please see AUTHORS file.
|
* and other libmdbx authors: please see AUTHORS file.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
@ -70,7 +70,9 @@
|
|||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winnt.h>
|
#include <winnt.h>
|
||||||
typedef unsigned mode_t;
|
#ifndef __mode_t_defined
|
||||||
|
typedef unsigned short mode_t;
|
||||||
|
#endif
|
||||||
typedef HANDLE mdbx_filehandle_t;
|
typedef HANDLE mdbx_filehandle_t;
|
||||||
typedef DWORD mdbx_pid_t;
|
typedef DWORD mdbx_pid_t;
|
||||||
typedef DWORD mdbx_tid_t;
|
typedef DWORD mdbx_tid_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user