Init commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user