townengine/include/twn_engine_api.h

13 lines
230 B
C
Raw Normal View History

#ifndef TWN_ENGINE_API_H
#define TWN_ENGINE_API_H
#if defined(TWN_NOT_C)
#define TWN_API
#elif defined(__WIN32)
#define TWN_API __declspec(dllexport)
#else
#define TWN_API __attribute__((visibility("default")))
#endif
#endif