1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00
sdrangel/fcdlib/export.h

16 lines
354 B
C
Raw Normal View History

2022-05-29 16:26:04 -04:00
#ifndef FCDLIB_EXPORT_H_
#define FCDLIB_EXPORT_H_
// cmake's WINDOWS_EXPORT_ALL_SYMBOLS only supports functions, so we need dllexport/import for global data
#ifdef _MSC_VER
#ifdef FCDLIB_EXPORTS
#define FCDLIB_API __declspec(dllexport)
#else
#define FCDLIB_API __declspec(dllimport)
#endif
#else
#define FCDLIB_API
#endif
#endif /* FCDLIB_EXPORT_H_ */