culturered_client/TokenCore/CoreExportDef.h

26 lines
650 B
C
Raw Permalink Normal View History

2024-09-07 03:34:44 +00:00
#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