 |
Ardour
8.12
|
Go to the documentation of this file.
19 #ifndef __libcanvas_visibility_h__
20 #define __libcanvas_visibility_h__
22 #if defined(COMPILER_MSVC)
23 #define LIBCANVAS_DLL_IMPORT __declspec(dllimport)
24 #define LIBCANVAS_DLL_EXPORT __declspec(dllexport)
25 #define LIBCANVAS_DLL_LOCAL
27 #define LIBCANVAS_DLL_IMPORT __attribute__ ((visibility ("default")))
28 #define LIBCANVAS_DLL_EXPORT __attribute__ ((visibility ("default")))
29 #define LIBCANVAS_DLL_LOCAL __attribute__ ((visibility ("hidden")))
32 #ifdef LIBCANVAS_STATIC
34 #define LIBCANVAS_LOCAL
36 #ifdef LIBCANVAS_DLL_EXPORTS
37 #define LIBCANVAS_API LIBCANVAS_DLL_EXPORT
39 #define LIBCANVAS_API LIBCANVAS_DLL_IMPORT
41 #define LIBCANVAS_LOCAL LIBCANVAS_DLL_LOCAL