summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmysqlpp/my-error.h')
-rw-r--r--libmysqlpp/my-error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysqlpp/my-error.h b/libmysqlpp/my-error.h
index b694843..394a793 100644
--- a/libmysqlpp/my-error.h
+++ b/libmysqlpp/my-error.h
@@ -4,9 +4,10 @@
#include <error.h>
#include <mysql.h>
#include <exception.h>
+#include <visibility.h>
namespace MySQL {
- class Error : public AdHoc::Exception<DB::Error> {
+ class DLL_PUBLIC Error : public AdHoc::Exception<DB::Error> {
public:
Error(MYSQL_STMT *);
Error(MYSQL *);