mdbx-tools: use ANSI2OEM-versions of mdbx_strerror() for Windows.

Change-Id: I15500eec60b20e45c2881499a809a00fb4d661fa
This commit is contained in:
Leonid Yuriev 2019-08-28 17:24:22 +03:00
parent 368b48b41b
commit a66cefb198

View File

@ -9,6 +9,10 @@
#ifndef _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
extern "C" {
#endif