 |
Ardour
8.12
|
Go to the documentation of this file.
20 #ifndef __libptformat_visibility_h__
21 #define __libptformat_visibility_h__
23 #if defined(COMPILER_MSVC)
24 #define LIBPTFORMAT_DLL_IMPORT __declspec(dllimport)
25 #define LIBPTFORMAT_DLL_EXPORT __declspec(dllexport)
26 #define LIBPTFORMAT_DLL_LOCAL
28 #define LIBPTFORMAT_DLL_IMPORT __attribute__ ((visibility ("default")))
29 #define LIBPTFORMAT_DLL_EXPORT __attribute__ ((visibility ("default")))
30 #define LIBPTFORMAT_DLL_LOCAL __attribute__ ((visibility ("hidden")))
33 #ifdef LIBPTFORMAT_STATIC
34 #define LIBPTFORMAT_API
35 #define LIBPTFORMAT_LOCAL
37 #ifdef LIBPTFORMAT_DLL_EXPORTS
38 #define LIBPTFORMAT_API LIBPTFORMAT_DLL_EXPORT
40 #define LIBPTFORMAT_API LIBPTFORMAT_DLL_IMPORT
42 #define LIBPTFORMAT_LOCAL LIBPTFORMAT_DLL_LOCAL