// // Created by koncord on 23.01.16. // #ifndef PLATFORM_HPP #define PLATFORM_HPP #ifdef _MSC_VER #ifdef _M_X86 #define ARCH_X86 #endif #endif #ifdef __GNUC__ #ifdef __i386__ #define ARCH_X86 #endif #endif #ifdef _WIN32 #define EXPORT_APIFUNCTION extern "C" __declspec(dllexport) #define CDECL __cdecl #else #define EXPORT_APIFUNCTION extern "C" __attribute__ ((visibility ("default"))) #define CDECL #endif #endif //PLATFORM_HPP