Loading...
Searching...
No Matches
Go to the documentation of this file.
25#ifndef IMPORT_EXPORT_H_
26#define IMPORT_EXPORT_H_
32 #define APIEXPORT __declspec(dllexport)
33 #define APIIMPORT __declspec(dllimport)
35#elif defined(__GNUC__) && __GNUC__ >= 4
37 #define APIEXPORT __attribute__ ((visibility("default")))
38 #define APIIMPORT __attribute__ ((visibility("default")))
39 #define APILOCAL __attribute__ ((visibility("hidden")))
41 #pragma message ( "warning: a supported C++ compiler is required" )
52#if defined( __GNUC__ ) || defined( __clang__ )
53 #define APIVISIBLE __attribute__ ((visibility("default")))
58#if defined(COMPILING_DLL)
59 #define KIFACE_API APIEXPORT
61 #define KIFACE_API APIIMPORT
64#define KIFACE_LOCAL APILOCAL