projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
globally remove all trailing whitespace from ardour code base.
[ardour.git]
/
libs
/
pbd
/
pbd
/
libpbd_visibility.h
diff --git
a/libs/pbd/pbd/libpbd_visibility.h
b/libs/pbd/pbd/libpbd_visibility.h
index 14b12556499d05b57606a16e9a8d55772b324ec8..51fed250841cb480cb0f8857dd570b31e18212df 100644
(file)
--- a/
libs/pbd/pbd/libpbd_visibility.h
+++ b/
libs/pbd/pbd/libpbd_visibility.h
@@
-20,25
+20,39
@@
#ifndef __libpbd_libpbd_visibility_h__
#define __libpbd_libpbd_visibility_h__
#ifndef __libpbd_libpbd_visibility_h__
#define __libpbd_libpbd_visibility_h__
-#if defined(COMPILER_MSVC)
|| defined(COMPILER_MINGW64)
+#if defined(COMPILER_MSVC)
#define LIBPBD_DLL_IMPORT __declspec(dllimport)
#define LIBPBD_DLL_EXPORT __declspec(dllexport)
#define LIBPBD_DLL_LOCAL
#define LIBPBD_DLL_IMPORT __declspec(dllimport)
#define LIBPBD_DLL_EXPORT __declspec(dllexport)
#define LIBPBD_DLL_LOCAL
+ #define LIBPBD_TEMPLATE_DLL_IMPORT
+ #define LIBPBD_TEMPLATE_DLL_EXPORT
+ #define LIBPBD_TEMPLATE_MEMBER_DLL_IMPORT __declspec(dllimport)
+ #define LIBPBD_TEMPLATE_MEMBER_DLL_EXPORT __declspec(dllexport)
#else
#define LIBPBD_DLL_IMPORT __attribute__ ((visibility ("default")))
#define LIBPBD_DLL_EXPORT __attribute__ ((visibility ("default")))
#define LIBPBD_DLL_LOCAL __attribute__ ((visibility ("hidden")))
#else
#define LIBPBD_DLL_IMPORT __attribute__ ((visibility ("default")))
#define LIBPBD_DLL_EXPORT __attribute__ ((visibility ("default")))
#define LIBPBD_DLL_LOCAL __attribute__ ((visibility ("hidden")))
+ #define LIBPBD_TEMPLATE_DLL_IMPORT __attribute__ ((visibility ("default")))
+ #define LIBPBD_TEMPLATE_DLL_EXPORT __attribute__ ((visibility ("default")))
+ #define LIBPBD_TEMPLATE_MEMBER_DLL_IMPORT
+ #define LIBPBD_TEMPLATE_MEMBER_DLL_EXPORT
#endif
#ifdef LIBPBD_STATIC // libpbd is a DLL
#define LIBPBD_API
#define LIBPBD_LOCAL
#endif
#ifdef LIBPBD_STATIC // libpbd is a DLL
#define LIBPBD_API
#define LIBPBD_LOCAL
+ #define LIBPBD_TEMPLATE_API
+ #define LIBPBD_TEMPLATE_MEMBER_API
#else
#ifdef LIBPBD_DLL_EXPORTS // defined if we are building the libpbd DLL (instead of using it)
#define LIBPBD_API LIBPBD_DLL_EXPORT
#else
#ifdef LIBPBD_DLL_EXPORTS // defined if we are building the libpbd DLL (instead of using it)
#define LIBPBD_API LIBPBD_DLL_EXPORT
+ #define LIBPBD_TEMPLATE_API LIBPBD_TEMPLATE_DLL_EXPORT
+ #define LIBPBD_TEMPLATE_MEMBER_API LIBPBD_TEMPLATE_MEMBER_DLL_EXPORT
#else
#define LIBPBD_API LIBPBD_DLL_IMPORT
#else
#define LIBPBD_API LIBPBD_DLL_IMPORT
- #endif
+ #define LIBPBD_TEMPLATE_API LIBPBD_TEMPLATE_DLL_IMPORT
+ #define LIBPBD_TEMPLATE_MEMBER_API LIBPBD_TEMPLATE_MEMBER_DLL_IMPORT
+ #endif
#define LIBPBD_LOCAL LIBPBD_DLL_LOCAL
#endif
#define LIBPBD_LOCAL LIBPBD_DLL_LOCAL
#endif