diff marsyas-link/marsyas/export.h @ 19:d1501a19818e

Add BeatRoot plugin and Marsyas plugin library (including IBT beat tracker)
author Chris Cannam
date Fri, 06 Dec 2019 13:17:08 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/marsyas-link/marsyas/export.h	Fri Dec 06 13:17:08 2019 +0000
@@ -0,0 +1,24 @@
+#ifndef _marsyas_DLLDEFINES_H
+#define _marsyas_DLLDEFINES_H
+
+#define MARSYAS_STATIC 1
+
+#if defined (_WIN32) && !(MARSYAS_STATIC)
+
+#ifdef _MSC_VER
+#pragma warning(disable: 4251)
+#endif
+
+#if defined (marsyas_EXPORTS)
+#define marsyas_EXPORT __declspec(dllexport)
+#else
+#define marsyas_EXPORT __declspec(dllimport)
+#endif
+
+#else
+
+#define marsyas_EXPORT
+
+#endif
+
+#endif