GrabBag/Device/MvsDevice/Inc/MvsDevice_global.h
2026-06-08 17:36:13 +08:00

19 lines
622 B
C

#ifndef MVSDEVICE_GLOBAL_H
#define MVSDEVICE_GLOBAL_H
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
# define MVS_DECL_EXPORT __declspec(dllexport)
# define MVS_DECL_IMPORT __declspec(dllimport)
#else
# define MVS_DECL_EXPORT __attribute__((visibility("default")))
# define MVS_DECL_IMPORT __attribute__((visibility("default")))
#endif
#if defined(MVSDEVICE_LIBRARY)
# define MVSDEVICE_EXPORT MVS_DECL_EXPORT
#else
# define MVSDEVICE_EXPORT MVS_DECL_IMPORT
#endif
#endif // MVSDEVICE_GLOBAL_H