aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-parser
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-26 22:36:58 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-28 19:49:41 +0300
commitdeff9b91bed656fd54bd7fbb8a5c525eec5ab542 (patch)
treeee50b83f17888d2474d650a4fca73297d38a65b2 /bpkg/manifest-parser
parent915260ad5e0d09eef98b76e294452a9216bc3e14 (diff)
Add DLL export/import support
Diffstat (limited to 'bpkg/manifest-parser')
-rw-r--r--bpkg/manifest-parser6
1 files changed, 4 insertions, 2 deletions
diff --git a/bpkg/manifest-parser b/bpkg/manifest-parser
index 77918ee..8cbb768 100644
--- a/bpkg/manifest-parser
+++ b/bpkg/manifest-parser
@@ -12,9 +12,11 @@
#include <butl/char-scanner>
+#include <bpkg/export>
+
namespace bpkg
{
- class manifest_parsing: public std::runtime_error
+ class LIBBPKG_EXPORT manifest_parsing: public std::runtime_error
{
public:
manifest_parsing (const std::string& name,
@@ -44,7 +46,7 @@ namespace bpkg
empty () const {return name.empty () && value.empty ();}
};
- class manifest_parser: protected butl::char_scanner
+ class LIBBPKG_EXPORT manifest_parser: protected butl::char_scanner
{
public:
manifest_parser (std::istream& is, const std::string& name)