mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx-windows: add mdbx_strerror_ANSI2OEM() and mdbx_strerror_r_ANSI2OEM().
This commit is contained in:
7
mdbx.h
7
mdbx.h
@@ -526,6 +526,13 @@ typedef struct MDBX_envinfo {
|
||||
LIBMDBX_API const char *mdbx_strerror(int errnum);
|
||||
LIBMDBX_API const char *mdbx_strerror_r(int errnum, char *buf, size_t buflen);
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
/* Bit of madness for Windows */
|
||||
LIBMDBX_API const char *mdbx_strerror_ANSI2OEM(int errnum);
|
||||
LIBMDBX_API const char *mdbx_strerror_r_ANSI2OEM(int errnum, char *buf,
|
||||
size_t buflen);
|
||||
#endif /* Bit of madness for Windows */
|
||||
|
||||
/* Create an MDBX environment handle.
|
||||
*
|
||||
* This function allocates memory for a MDBX_env structure. To release
|
||||
|
Reference in New Issue
Block a user