From c09cd7512491cee1e82c1ad8128ce9fd4bc3f79b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Sep 2017 23:32:28 +0200 Subject: Initial modularization with both Clang and VC hacks Note: gave up on VC about half way though. --- libbutl/path.txx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'libbutl/path.txx') diff --git a/libbutl/path.txx b/libbutl/path.txx index 17673f8..512e849 100644 --- a/libbutl/path.txx +++ b/libbutl/path.txx @@ -2,14 +2,7 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include -#include - -#ifdef _WIN32 -# include // replace() -#endif - -namespace butl +LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. { template basic_path basic_path:: @@ -138,6 +131,7 @@ namespace butl // Throw system_error in case of other failures. Result and dir can be the // same instance. // + LIBBUTL_MODEXPORT //@@ MOD VC doesn't "see" it in impl unit unless exported. template bool basic_path_append_actual_name (std::basic_string& result, -- cgit v1.1