Go to the documentation of this file.
20 #ifndef __libardour_libardour_visibility_h__
21 #define __libardour_libardour_visibility_h__
23 #if defined(COMPILER_MSVC)
24 #define LIBARDOUR_DLL_IMPORT __declspec(dllimport)
25 #define LIBARDOUR_DLL_EXPORT __declspec(dllexport)
26 #define LIBARDOUR_DLL_LOCAL
28 #define LIBARDOUR_DLL_IMPORT __attribute__ ((visibility ("default")))
29 #define LIBARDOUR_DLL_EXPORT __attribute__ ((visibility ("default")))
30 #define LIBARDOUR_DLL_LOCAL __attribute__ ((visibility ("hidden")))
33 #ifdef LIBARDOUR_STATIC // libardour is not a DLL
35 #define LIBARDOUR_LOCAL
37 #ifdef LIBARDOUR_DLL_EXPORTS // defined if we are building the libardour DLL (instead of using it)
38 #define LIBARDOUR_API LIBARDOUR_DLL_EXPORT
40 #define LIBARDOUR_API LIBARDOUR_DLL_IMPORT
42 #define LIBARDOUR_LOCAL LIBARDOUR_DLL_LOCAL