2025-12-10 00:01:32 +08:00
|
|
|
#ifndef GALAXYDEVICE_GLOBAL_H
|
|
|
|
|
#define GALAXYDEVICE_GLOBAL_H
|
2025-07-23 01:35:14 +08:00
|
|
|
|
|
|
|
|
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
|
|
|
|
|
# define Q_DECL_EXPORT __declspec(dllexport)
|
|
|
|
|
# define Q_DECL_IMPORT __declspec(dllimport)
|
|
|
|
|
#else
|
|
|
|
|
# define Q_DECL_EXPORT __attribute__((visibility("default")))
|
|
|
|
|
# define Q_DECL_IMPORT __attribute__((visibility("default")))
|
|
|
|
|
#endif
|
|
|
|
|
|
2025-12-10 00:01:32 +08:00
|
|
|
#if defined(GALAXYDEVICE_LIBRARY)
|
|
|
|
|
# define GALAXYDEVICE_EXPORT Q_DECL_EXPORT
|
2025-07-23 01:35:14 +08:00
|
|
|
#else
|
2025-12-10 00:01:32 +08:00
|
|
|
# define GALAXYDEVICE_EXPORT Q_DECL_IMPORT
|
2025-07-23 01:35:14 +08:00
|
|
|
#endif
|
|
|
|
|
|
2025-12-10 00:01:32 +08:00
|
|
|
#endif // GALAXYDEVICE_GLOBAL_H
|