Ardour
9.0-pre0-582-g084a23a80d
zresampler_visibility.h
Go to the documentation of this file.
1
#ifndef __libzresampler_visibility_h__
2
#define __libzresampler_visibility_h__
3
4
#if defined(COMPILER_MSVC)
5
#define LIBZRESAMPLER_DLL_IMPORT __declspec(dllimport)
6
#define LIBZRESAMPLER_DLL_EXPORT __declspec(dllexport)
7
#define LIBZRESAMPLER_DLL_LOCAL
8
#else
9
#define LIBZRESAMPLER_DLL_IMPORT __attribute__ ((visibility ("default"
)))
10
#define LIBZRESAMPLER_DLL_EXPORT __attribute__ ((visibility ("default"
)))
11
#define LIBZRESAMPLER_DLL_LOCAL __attribute__ ((visibility ("hidden"
)))
12
#endif
13
14
#ifdef LIBZRESAMPLER_STATIC
// libzita-resampler is a DLL
15
#define LIBZRESAMPLER_API
16
#define LIBZRESAMPLER_LOCAL
17
#define LIBZRESAMPLER_TEMPLATE_API
18
#define LIBZRESAMPLER_TEMPLATE_MEMBER_API
19
#else
20
#ifdef LIBZRESAMPLER_DLL_EXPORTS
// defined if we are building the libzita-resampler DLL (instead of using it)
21
#define LIBZRESAMPLER_API LIBZRESAMPLER_DLL_EXPORT
22
#define LIBZRESAMPLER_TEMPLATE_API LIBZRESAMPLER_TEMPLATE_DLL_EXPORT
23
#define LIBZRESAMPLER_TEMPLATE_MEMBER_API LIBZRESAMPLER_TEMPLATE_MEMBER_DLL_EXPORT
24
#else
25
#define LIBZRESAMPLER_API LIBZRESAMPLER_DLL_IMPORT
26
#define LIBZRESAMPLER_TEMPLATE_API LIBZRESAMPLER_TEMPLATE_DLL_IMPORT
27
#define LIBZRESAMPLER_TEMPLATE_MEMBER_API LIBZRESAMPLER_TEMPLATE_MEMBER_DLL_IMPORT
28
#endif
29
#define LIBZRESAMPLER_LOCAL LIBZRESAMPLER_DLL_LOCAL
30
#endif
31
32
#endif
libs
zita-resampler
zita-resampler
zresampler_visibility.h
Generated on Wed Dec 25 2024 05:44:58 for Ardour by
1.9.1