From 8a9834cfc6ef88fc034358ae81ffeb90e69034ac Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Wed, 7 Oct 2020 23:08:52 +0900 Subject: [PATCH] Define MT32EMU_EXPORT_ATTRIBUTE on OS/2 --- mt32emu/src/globals.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mt32emu/src/globals.h b/mt32emu/src/globals.h index 243ff82..783fe90 100644 --- a/mt32emu/src/globals.h +++ b/mt32emu/src/globals.h @@ -37,7 +37,11 @@ #endif /* #ifdef mt32emu_EXPORTS */ #endif /* #ifdef _MSC_VER */ #else /* #if defined _WIN32 || defined __CYGWIN__ */ +#ifdef __OS2__ +#define MT32EMU_EXPORT_ATTRIBUTE __declspec(dllexport) +#else /* #ifdef __OS2__ */ #define MT32EMU_EXPORT_ATTRIBUTE __attribute__ ((visibility("default"))) +#endif /* #ifdef __OS2__ */ #endif /* #if defined _WIN32 || defined __CYGWIN__ */ #else /* #ifdef MT32EMU_SHARED */ #define MT32EMU_EXPORT_ATTRIBUTE