lilypad: add stdcall convention

This commit is contained in:
Gregory Hainaut 2015-04-17 18:32:39 +02:00
parent 8e3dab7e11
commit 75a3abc225
1 changed files with 1 additions and 1 deletions

View File

@ -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