aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:00:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:00:43 +0300
commit604cef5bc09a2c4631eb3948dd788381dc5b4edb (patch)
tree75f560e2ea9d6c35b76a9faf8fb25685f05bc02e
parent708b092956f10b5c05641f90d55b209e887d52de (diff)
Minor fixes
-rw-r--r--libbuild2/context.hxx2
-rw-r--r--libbuild2/variable.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index d61d063..394f600 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -23,7 +23,7 @@ namespace build2
class scope_map;
class target_set;
- class variable;
+ struct variable;
class variable_pool;
struct variable_override;
using variable_overrides = vector<variable_override>;
diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx
index 4befa51..aa06497 100644
--- a/libbuild2/variable.hxx
+++ b/libbuild2/variable.hxx
@@ -1455,7 +1455,7 @@ namespace build2
bool global_;
};
- extern const variable_map empty_variable_map;
+ LIBBUILD2_SYMEXPORT extern const variable_map empty_variable_map;
// Value caching. Used for overrides as well as target type/pattern-specific
// append/prepend.