diff options
Diffstat (limited to 'build2/target.cxx')
-rw-r--r-- | build2/target.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build2/target.cxx b/build2/target.cxx index 2e500aa..12bbfd1 100644 --- a/build2/target.cxx +++ b/build2/target.cxx @@ -498,8 +498,8 @@ namespace build2 : &extension_pool.find (ext))); } - constexpr const char file_ext_var[] = "extension"; - constexpr const char file_ext_def[] = ""; + extern const char file_ext_var[] = "extension"; // VC 19 rejects constexpr. + extern const char file_ext_def[] = ""; const target_type file::static_type { @@ -613,7 +613,8 @@ namespace build2 false }; - constexpr const char man1_ext[] = "1"; + extern const char man1_ext[] = "1"; // VC 19 rejects constexpr. + const target_type man1::static_type { "man1", |