mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:34:14 +08:00
mdbx-tools: use ANSI2OEM-versions of mdbx_strerror() for Windows.
Change-Id: I15500eec60b20e45c2881499a809a00fb4d661fa
This commit is contained in:
parent
368b48b41b
commit
a66cefb198
@ -9,6 +9,10 @@
|
|||||||
#ifndef _WINGETOPT_H_
|
#ifndef _WINGETOPT_H_
|
||||||
#define _WINGETOPT_H_
|
#define _WINGETOPT_H_
|
||||||
|
|
||||||
|
/* Bit of madness for Windows console */
|
||||||
|
#define mdbx_strerror mdbx_strerror_ANSI2OEM
|
||||||
|
#define mdbx_strerror_r mdbx_strerror_r_ANSI2OEM
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user