23 lines
475 B
C
23 lines
475 B
C
#pragma once
|
|
|
|
#define IKA_API
|
|
|
|
#if defined(__unix__)
|
|
#define IKA_OS_FAMILY_UNIX
|
|
#define IKA_API __attribute__((visibility("default")))
|
|
|
|
#if defined(linux)
|
|
#define IKA_OS_LINUX
|
|
#endif
|
|
#elif defined(_WIN32)
|
|
#define IKA_OS_WIN
|
|
#define IKA_API __declspec(dllexport)
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
#define IKARUS_BEGIN_HEADER extern "C" {
|
|
#define IKARUS_END_HEADER }
|
|
#else
|
|
#define IKARUS_BEGIN_HEADER
|
|
#define IKARUS_END_HEADER
|
|
#endif
|