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/win32-utility.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libbutl/win32-utility.hxx') diff --git a/libbutl/win32-utility.hxx b/libbutl/win32-utility.hxx index d9a3bcb..8c1e6d7 100644 --- a/libbutl/win32-utility.hxx +++ b/libbutl/win32-utility.hxx @@ -2,8 +2,7 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef LIBBUTL_WIN32_UTILITY_HXX -#define LIBBUTL_WIN32_UTILITY_HXX +#pragma once // Use this header to include and a couple of Win32-specific // utilities. @@ -33,7 +32,11 @@ # endif #endif +#ifndef __cpp_lib_modules #include +#else +import std.core; +#endif #include @@ -50,5 +53,3 @@ namespace butl }; #endif // _WIN32 - -#endif // LIBBUTL_WIN32_UTILITY_HXX -- cgit v1.1