From 098559ca3552ebd8f80a6d28254f4fa58913b751 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Jul 2016 08:56:48 +0200 Subject: Add DLL export/import support --- butl/utility | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'butl/utility') diff --git a/butl/utility b/butl/utility index efbb13b..2436616 100644 --- a/butl/utility +++ b/butl/utility @@ -9,11 +9,13 @@ #include // forward() #include // strcmp +#include + namespace butl { // Key comparators (i.e., to be used in sets, maps, etc). // - struct compare_c_string + struct LIBBUTL_EXPORT compare_c_string { bool operator() (const char* x, const char* y) const { @@ -21,7 +23,7 @@ namespace butl } }; - struct compare_pointer_target + struct LIBBUTL_EXPORT compare_pointer_target { template bool operator() (const P& x, const P& y) const {return *x < *y;} -- cgit v1.1