From ec7b7e37ce97d25adc209befb2c12cf16eb06ef1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Jun 2016 13:00:14 +0300 Subject: Port to MSVC --- build2/bin/target.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/bin') diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx index b0ce6d5..f141d97 100644 --- a/build2/bin/target.cxx +++ b/build2/bin/target.cxx @@ -10,7 +10,7 @@ namespace build2 { namespace bin { - constexpr const char ext_var[] = "extension"; + extern const char ext_var[] = "extension"; // VC 19 rejects constexpr. static target* obja_factory (const target_type&, -- cgit v1.1