summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/panner.h
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-08-31 16:19:36 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-08-31 16:19:36 +0100
commita6c85286fef1df3f8f025ee6012796898fc5d77f (patch)
tree38bc65749a3392348782595d3801f5f7f3b4e14b /libs/ardour/ardour/panner.h
parent4a8cd4375d5fd1b5733e691051d1fa7c2ccce595 (diff)
'libs/panners' - Add a conventional 'C' API call type to test building with MSVC
Diffstat (limited to 'libs/ardour/ardour/panner.h')
-rw-r--r--libs/ardour/ardour/panner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h
index 7ebf1ec989..c23d3bd33f 100644
--- a/libs/ardour/ardour/panner.h
+++ b/libs/ardour/ardour/panner.h
@@ -47,9 +47,11 @@
#if defined(BUILDING_ARDOURPANNERS)
#define ARDOURPANNER_API __declspec(dllexport)
#define ARDOURPANNER_APICALLTYPE __thiscall
+ #define ARDOURPANNER_CAPICALLTYPE __cdecl
#elif defined(COMPILER_MSVC) || defined(COMPILER_MINGW) // Probably needs Cygwin too, at some point
#define ARDOURPANNER_API __declspec(dllimport)
#define ARDOURPANNER_APICALLTYPE __thiscall
+ #define ARDOURPANNER_CAPICALLTYPE __cdecl
#else
#error "Attempting to define __declspec with an incompatible compiler !"
#endif
@@ -57,6 +59,7 @@
// Other compilers / platforms could be accommodated here
#define ARDOURPANNER_API
#define ARDOURPANNER_APICALLTYPE
+ #define ARDOURPANNER_CAPICALLTYPE
#endif
namespace ARDOUR {