fix mingw compilation by using export definitions (issue #217)

This commit is contained in:
daan 2020-04-06 09:53:29 -07:00
parent faa83a1c47
commit 50bfacdb71

View file

@ -34,7 +34,7 @@ terms of the MIT license. A copy of the license can be found in the file
#define mi_decl_nodiscard
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__MINGW32__)
#if !defined(MI_SHARED_LIB)
#define mi_decl_export
#elif defined(MI_SHARED_LIB_EXPORT)