aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:41:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:41:36 +0200
commit73a64baac30f5c478201e9f86dc4dd5ef85f0192 (patch)
tree82303b5b875a2fc366d0f3a15c2442611d8651e2 /libbuild2
parent6b3e75edf034ebcbd048a24c283c7bcf7b1da019 (diff)
Fix few Windows/VC compatibility issues
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/target-key.hxx8
-rw-r--r--libbuild2/target.hxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/libbuild2/target-key.hxx b/libbuild2/target-key.hxx
index 2cc58f9..f5351b8 100644
--- a/libbuild2/target-key.hxx
+++ b/libbuild2/target-key.hxx
@@ -21,10 +21,10 @@ namespace build2
class LIBBUILD2_SYMEXPORT target_key
{
public:
- const target_type* const type;
- const dir_path* const dir; // Can be relative if part of prerequisite_key.
- const dir_path* const out; // Can be relative if part of prerequisite_key.
- const string* const name;
+ const target_type* type;
+ const dir_path* dir; // Can be relative if part of prerequisite_key.
+ const dir_path* out; // Can be relative if part of prerequisite_key.
+ const string* name;
mutable optional<string> ext; // Absent - unspecified, empty - none.
template <typename T>
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 10abf16..56b10c0 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1940,10 +1940,10 @@ namespace build2
string&, optional<string>&, const location&,
bool);
- const char*
+ LIBBUILD2_SYMEXPORT const char*
target_extension_none (const target_key&, const scope*);
- const char*
+ LIBBUILD2_SYMEXPORT const char*
target_extension_must (const target_key&, const scope*);
// Get the extension from the `extension` variable or use the default if