diff --git a/plugins/CDVDiso/src/CDVDiso.h b/plugins/CDVDiso/src/CDVDiso.h index e4141ecc85..b4ec41a2df 100644 --- a/plugins/CDVDiso/src/CDVDiso.h +++ b/plugins/CDVDiso/src/CDVDiso.h @@ -31,7 +31,7 @@ #ifdef _MSC_VER #define EXPORT_C_(type) extern "C" __declspec(dllexport) type CALLBACK #else -#define EXPORT_C_(type) extern "C" __attribute__((externally_visible,visibility("default"))) type +#define EXPORT_C_(type) extern "C" __attribute__((stdcall,externally_visible,visibility("default"))) type #endif #else @@ -39,7 +39,7 @@ #ifdef _MSC_VER #define EXPORT_C_(type) __declspec(dllexport) type __stdcall #else -#define EXPORT_C_(type) __attribute__((externally_visible,visibility("default"))) type +#define EXPORT_C_(type) __attribute__((stdcall,externally_visible,visibility("default"))) type #endif #endif