| IOLink 1.11.0

Loading...
Searching...
No Matches
IOLinkAPI.h
1#pragma once
2
9#if defined(IOLINK_STATIC_BUILD)
10# define IOLINK_API
11# define IOLINK_API_EXPORT
12# define IOLINK_API_IMPORT
13# define IOLINK_INTERFACE_API
14#else
15# if defined(_MSC_VER)
16# ifdef IOLINK_EXPORTS
17# define IOLINK_API_EXPORT __declspec(dllexport)
18# define IOLINK_API_IMPORT
19# define IOLINK_API IOLINK_API_EXPORT
20# else
21# define IOLINK_API_IMPORT __declspec(dllimport)
22# define IOLINK_API_EXPORT
23# define IOLINK_API IOLINK_API_IMPORT
24# endif
25# define IOLINK_INTERFACE_API
26# elif defined(__linux__) || defined(__APPLE__)
27# define IOLINK_API __attribute__((visibility("default")))
28# define IOLINK_API_EXPORT IOLINK_API
29# define IOLINK_API_IMPORT IOLINK_API
30# define IOLINK_INTERFACE_API IOLINK_API
31# else
32# define IOLINK_API
33# define IOLINK_API_EXPORT
34# define IOLINK_API_IMPORT
35# define IOLINK_INTERFACE_API
36# endif
37#endif