From 9ce7f515bc1d6c273adb2d5893c10d55a8969e90 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 17 Apr 2015 18:34:05 +0200 Subject: [PATCH] cdvdiso: add stdcall convention --- plugins/CDVDiso/src/CDVDiso.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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