From c5115c9a3c8ce6639f37e0b429e0498bb522d913 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 16 Oct 2013 23:30:28 -0400 Subject: add export visibility control to libpbd (works thus far on linux/gcc) --- libs/pbd/pbd/unknown_type.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/pbd/pbd/unknown_type.h') diff --git a/libs/pbd/pbd/unknown_type.h b/libs/pbd/pbd/unknown_type.h index 3610d4f0ed..4d984269a7 100644 --- a/libs/pbd/pbd/unknown_type.h +++ b/libs/pbd/pbd/unknown_type.h @@ -22,7 +22,9 @@ #include -class unknown_type : public std::exception { +#include "pbd/libpbd_visibility.h" + +class LIBPBD_API unknown_type : public std::exception { public: virtual const char *what() const throw() { return "unknown type"; } }; -- cgit v1.2.3