#ifndef ZTOOL_SHARED_LIB_MACRO_H
#define ZTOOL_SHARED_LIB_MACRO_H

#ifdef ZTOOL_SHARED_LIB
#ifdef _WIN32
#ifdef ZTOOL_DLL_OUTPUT
#define ZTOOL_API __declspec(dllexport)
#else
#define ZTOOL_API __declspec(dllimport)
#endif
#else
#define ZTOOL_API __attribute__((visibility("default")))
#endif
#else
#define ZTOOL_API
#endif

#endif //ZTOOL_SHARED_LIB_MACRO_H