26 lines
650 B
C
26 lines
650 B
C
#pragma once
|
|
|
|
#if defined(_MSC_VER) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
|
|
# define LIB_DECL_EXPORT __declspec(dllexport)
|
|
# define LIB_DECL_IMPORT __declspec(dllimport)
|
|
#else
|
|
# define LIB_DECL_EXPORT __attribute__((visibility("default")))
|
|
# define LIB_DECL_IMPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#if defined(LiveLibCore_EXPORTS)
|
|
# define TOKEN_CORE_EXPORT LIB_DECL_EXPORT
|
|
#else
|
|
# define TOKEN_CORE_EXPORT LIB_DECL_EXPORT
|
|
#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
#define EXTERN_C extern "C"
|
|
|
|
#else
|
|
#define EXTERN_C
|
|
|
|
#endif // __cplusplus
|
|
|