diff --git a/plugins/LilyPad/Global.h b/plugins/LilyPad/Global.h index 8201d34daf..8b6439ee66 100644 --- a/plugins/LilyPad/Global.h +++ b/plugins/LilyPad/Global.h @@ -110,7 +110,7 @@ inline void * realloc(void *mem, size_t size); #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 CALLBACK +#define EXPORT_C_(type) extern "C" __attribute__((stdcall,externally_visible,visibility("default"))) type CALLBACK #endif #ifdef _MSC_VER