2025-04-28 12:25:20 +08:00
|
|
|
#ifndef LOGIN_GLOBAL_H
|
|
|
|
#define LOGIN_GLOBAL_H
|
|
|
|
|
2025-05-18 09:54:59 +08:00
|
|
|
#if defined(_WIN32)
|
|
|
|
#if defined(LOGIN_LIBRARY)
|
|
|
|
#define LOGIN_EXPORT __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#define LOGIN_EXPORT __declspec(dllimport)
|
|
|
|
#endif
|
2025-04-28 12:25:20 +08:00
|
|
|
#else
|
2025-05-18 09:54:59 +08:00
|
|
|
#if defined(LOGIN_LIBRARY)
|
|
|
|
#define LOGIN_EXPORT __attribute__((visibility("default")))
|
|
|
|
#else
|
|
|
|
#define LOGIN_EXPORT
|
|
|
|
#endif
|
2025-04-28 12:25:20 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // LOGIN_GLOBAL_H
|