19 lines
597 B
C
19 lines
597 B
C
#ifndef VRTHREADPOOL_GLOBAL_H
|
|
#define VRTHREADPOOL_GLOBAL_H
|
|
|
|
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
|
|
# define Q_MEM_EXPORT __declspec(dllexport)
|
|
# define Q_MEM_IMPORT __declspec(dllimport)
|
|
#else
|
|
# define Q_MEM_EXPORT __attribute__((visibility("default")))
|
|
# define Q_MEM_IMPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#if defined(VRTHREADPOOL_LIBRARY)
|
|
# define VRTHREADPOOL_EXPORT Q_MEM_EXPORT
|
|
#else
|
|
# define VRTHREADPOOL_EXPORT Q_MEM_IMPORT
|
|
#endif
|
|
|
|
#endif
|