summaryrefslogtreecommitdiffstats
path: root/suil
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-29 20:23:11 +0000
committerDavid Robillard <d@drobilla.net>2011-03-29 20:23:11 +0000
commitebeb8cb225def551b8cc744d47c1ae21cf8d33a7 (patch)
treef6c657bba731333de58188d9d5a9c91a342ef133 /suil
parentaf85870e9ccc2ce332494332ad64bf8fa48adf7d (diff)
downloadsuil-ebeb8cb225def551b8cc744d47c1ae21cf8d33a7.tar.gz
suil-ebeb8cb225def551b8cc744d47c1ae21cf8d33a7.tar.bz2
suil-ebeb8cb225def551b8cc744d47c1ae21cf8d33a7.zip
Update library preprocessor boilerplate
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3135 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'suil')
-rw-r--r--suil/suil.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/suil/suil.h b/suil/suil.h
index 02a37cd..10cc26e 100644
--- a/suil/suil.h
+++ b/suil/suil.h
@@ -36,20 +36,20 @@
#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
#ifdef SUIL_SHARED
- #if defined _WIN32 || defined __CYGWIN__
- #define SUIL_LIB_IMPORT __declspec(dllimport)
- #define SUIL_LIB_EXPORT __declspec(dllexport)
- #else
- #define SUIL_LIB_IMPORT __attribute__ ((visibility("default")))
- #define SUIL_LIB_EXPORT __attribute__ ((visibility("default")))
- #endif
- #ifdef SUIL_INTERNAL
- #define SUIL_API SUIL_LIB_EXPORT
- #else
- #define SUIL_API SUIL_LIB_IMPORT
- #endif
+# ifdef __WIN32__
+# define SUIL_LIB_IMPORT __declspec(dllimport)
+# define SUIL_LIB_EXPORT __declspec(dllexport)
+# else
+# define SUIL_LIB_IMPORT __attribute__((visibility("default")))
+# define SUIL_LIB_EXPORT __attribute__((visibility("default")))
+# endif
+# ifdef SUIL_INTERNAL
+# define SUIL_API SUIL_LIB_EXPORT
+# else
+# define SUIL_API SUIL_LIB_IMPORT
+# endif
#else
- #define SUIL_API
+# define SUIL_API
#endif
#ifdef __cplusplus