aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/bfc/platform/export.h
blob: 68e6e3c98faec27a9211d435fe12fa2c7fa4cae9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef NULLSOFT_BFC_EXPORT_H
#define NULLSOFT_BFC_EXPORT_H

#ifdef _MSC_VER
#define DLLEXPORT __declspec(dllexport)
#elif defined(__GNUC__)
#define DLLEXPORT __attribute__ ((visibility("default")))
#else
#error port me!
#endif

#ifdef _MSC_VER
#define DLLIMPORT __declspec(dllimport)
#elif defined(__GNUC__)
#define DLLIMPORT 
#else
#error port me!
#endif

#endif