summaryrefslogtreecommitdiffstats
path: root/ingen/Atom.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-02 17:14:31 +0000
committerDavid Robillard <d@drobilla.net>2015-03-02 17:14:31 +0000
commite5da085b75ff7c33a10ac2b03434d487c47340f2 (patch)
treec59e52d7442dd735ec48dd0fc2d11e6838a15d6a /ingen/Atom.hpp
parentf69c75e637cc3c789a675d1811a2f632732bafc0 (diff)
downloadingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.tar.gz
ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.tar.bz2
ingen-e5da085b75ff7c33a10ac2b03434d487c47340f2.zip
Fix compilation with -fvisibility=hidden.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5611 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/Atom.hpp')
-rw-r--r--ingen/Atom.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ingen/Atom.hpp b/ingen/Atom.hpp
index 2e585a47..4275ce23 100644
--- a/ingen/Atom.hpp
+++ b/ingen/Atom.hpp
@@ -22,6 +22,7 @@
#include <cstring>
#include <string>
+#include "ingen/ingen.h"
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
@@ -41,7 +42,7 @@ class Forge;
In either case, the data is stored in a binary compatible format to LV2_Atom
(i.e., if the value is dynamically allocated, the header is repeated there).
*/
-class Atom {
+class INGEN_API Atom {
public:
Atom() { _atom.size = 0; _atom.type = 0; _body.ptr = NULL; }
~Atom() { dealloc(); }