#pragma once
#define export 1
#if defined(_MSC_VER) || defined(WIN64) || defined(WIN32) || defined(__NT__)
#define ex_export __declspec(dllexport)
#define ex_emport __declspec(dllimport)
#else // linux or mac
#define ex_export __attribute__((visibility("default")))
#define ex_emport __attribute__((visibility("default")))
#endif
#if defined(export)
#define ex_declare ex_export
#else
#define ex_declare ex_emport
#endif