Loading...
Searching...
No Matches
Go to the documentation of this file.
21#ifndef IMPORT_EXPORT_H_
22#define IMPORT_EXPORT_H_
28 #define APIEXPORT __declspec(dllexport)
29 #define APIIMPORT __declspec(dllimport)
31#elif defined(__GNUC__) && __GNUC__ >= 4
33 #define APIEXPORT __attribute__ ((visibility("default")))
34 #define APIIMPORT __attribute__ ((visibility("default")))
35 #define APILOCAL __attribute__ ((visibility("hidden")))
37 #pragma message ( "warning: a supported C++ compiler is required" )
48#if defined( __GNUC__ ) || defined( __clang__ )
49 #define APIVISIBLE __attribute__ ((visibility("default")))
54#if defined(COMPILING_DLL)
55 #define KIFACE_API APIEXPORT
57 #define KIFACE_API APIIMPORT
60#define KIFACE_LOCAL APILOCAL