]> git.tdb.fi Git - libs/datafile.git/blob - source/mspdatafile_api.h
Move the definition of Input's operator bool to the header
[libs/datafile.git] / source / mspdatafile_api.h
1 #ifndef MSP_DATAFILE_API_H_
2 #define MSP_DATAFILE_API_H_
3
4 #if defined(_WIN32)
5 #if defined(MSPDATAFILE_BUILD)
6 #define MSPDATAFILE_API __declspec(dllexport)
7 #elif defined(MSPDATAFILE_IMPORT)
8 #define MSPDATAFILE_API __declspec(dllimport)
9 #else
10 #define MSPDATAFILE_API
11 #endif
12 #elif defined(__GNUC__)
13 #define MSPDATAFILE_API __attribute__((visibility("default")))
14 #else
15 #define MSPDATAFILE_API
16 #endif
17
18 #endif