mirror of https://github.com/PCSX2/pcsx2.git
cdvdiso: add stdcall convention
This commit is contained in:
parent
1cb047687f
commit
9ce7f515bc
|
@ -31,7 +31,7 @@
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define EXPORT_C_(type) extern "C" __declspec(dllexport) type CALLBACK
|
#define EXPORT_C_(type) extern "C" __declspec(dllexport) type CALLBACK
|
||||||
#else
|
#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
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define EXPORT_C_(type) __declspec(dllexport) type __stdcall
|
#define EXPORT_C_(type) __declspec(dllexport) type __stdcall
|
||||||
#else
|
#else
|
||||||
#define EXPORT_C_(type) __attribute__((externally_visible,visibility("default"))) type
|
#define EXPORT_C_(type) __attribute__((stdcall,externally_visible,visibility("default"))) type
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue