1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 08:23:51 +00:00
openmw-tes3mp/apps/openmw-mp/Script/Platform.hpp

29 lines
395 B
C++
Raw Normal View History

//
// Created by koncord on 23.01.16.
//
2016-11-17 05:18:35 +00:00
#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"
#define CDECL
#endif
2016-11-17 05:18:35 +00:00
#endif //PLATFORM_HPP