GCC/Clang fix for windows
#endif
#if SAMPGDK_WINDOWS
+ #ifdef _MSC_VER
#define SAMPGDK_CDECL __cdecl
#define SAMPGDK_STDCALL __stdcall
+ #else
+ #define SAMPGDK_CDECL __attribute__((cdecl))
+ #define SAMPGDK_STDCALL __attribute__((stdcall))
+ #endif
#elif SAMPGDK_LINUX
#define SAMPGDK_CDECL __attribute__((cdecl))
#define SAMPGDK_STDCALL __attribute__((stdcall))
