mdbx-windows: UNICODE-зависимое определение макросов MDBX_DATANAME, MDBX_LOCKNAME и MDBX_LOCK_SUFFIX.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-10-09 23:05:20 +03:00
parent 98a2bd785a
commit 98e29fe628
2 changed files with 28 additions and 6 deletions

View File

@@ -128,6 +128,10 @@
#define __USE_MINGW_ANSI_STDIO 1
#endif /* __USE_MINGW_ANSI_STDIO */
#if (defined(_WIN32) || defined(_WIN64)) && !defined(UNICODE)
#define UNICODE
#endif /* UNICODE */
#include "../mdbx.h"
#include "base.h"