mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
fix mingw compilation by using export definitions (issue #217)
This commit is contained in:
parent
faa83a1c47
commit
50bfacdb71
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||||
#define mi_decl_nodiscard
|
#define mi_decl_nodiscard
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
#if !defined(MI_SHARED_LIB)
|
#if !defined(MI_SHARED_LIB)
|
||||||
#define mi_decl_export
|
#define mi_decl_export
|
||||||
#elif defined(MI_SHARED_LIB_EXPORT)
|
#elif defined(MI_SHARED_LIB_EXPORT)
|
||||||
|
|
Loading…
Add table
Reference in a new issue