summaryrefslogtreecommitdiffstats
path: root/libkdchart/kdchart_export.h
blob: 40b72c2328603e347beccc3071028406d4a56cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef KDCHART_EXPORT_H
#define KDCHART_EXPORT_H

#if defined(__KDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY)
#define KDCHART_NO_EXPORT __attribute__ ((visibility("hidden")))
#define KDCHART_EXPORT __attribute__ ((visibility("default")))
#elif defined(_WIN32)
#define KDCHART_NO_EXPORT
#define KDCHART_EXPORT __declspec(dllexport)
#else
#define KDCHART_NO_EXPORT
#define KDCHART_EXPORT
#endif

#endif