Simplify header

This commit is contained in:
Evan Miller
2021-08-22 21:33:33 -04:00
parent d3eea5f38e
commit 00d597b6d3
2 changed files with 5 additions and 6 deletions

View File

@@ -65,13 +65,10 @@
// M$VC see http://stackoverflow.com/questions/1113409/attribute-constructor-equivalent-in-vc
#define MDB_DEPRECATED(type, funcname) type __attribute__((deprecated)) funcname
#if defined(_WIN32) || defined(WIN32) || defined(_WIN64) || defined(WIN64) || defined(WINDOWS)
typedef _locale_t mdb_locale_t;
#else
typedef locale_t mdb_locale_t;
#if !MDBTOOLS_H_HAVE_ICONV_H
typedef @LOCALE_T@ mdb_locale_t;
#endif
enum {
MDB_PAGE_DB = 0,
MDB_PAGE_DATA,