summaryrefslogtreecommitdiffstats
path: root/slv2/slv2.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-17 02:57:24 +0000
committerDavid Robillard <d@drobilla.net>2011-02-17 02:57:24 +0000
commit41cad1e44a88940bab551a996b94c978717cedca (patch)
treef025d047ae9ceaf76703b54395c73c1bc05ddf10 /slv2/slv2.h
parent8f2ecbb9e76d9427186727a9110e1e8435e1c16f (diff)
downloadlilv-41cad1e44a88940bab551a996b94c978717cedca.tar.gz
lilv-41cad1e44a88940bab551a996b94c978717cedca.tar.bz2
lilv-41cad1e44a88940bab551a996b94c978717cedca.zip
Make ui.h C++ compatible.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2971 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/slv2.h')
-rw-r--r--slv2/slv2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/slv2/slv2.h b/slv2/slv2.h
index c761873..8c198bd 100644
--- a/slv2/slv2.h
+++ b/slv2/slv2.h
@@ -19,15 +19,15 @@
#ifndef SLV2_SLV2_H__
#define SLV2_SLV2_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stdint.h>
#include <stdbool.h>
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if defined _WIN32 || defined __CYGWIN__
#define SLV2_LIB_IMPORT __declspec(dllimport)
#define SLV2_LIB_EXPORT __declspec(dllexport)