diff options
Diffstat (limited to 'libbutl/win32-utility.hxx')
-rw-r--r-- | libbutl/win32-utility.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
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 <windows.h> and a couple of Win32-specific // utilities. @@ -33,7 +32,11 @@ # endif #endif +#ifndef __cpp_lib_modules #include <string> +#else +import std.core; +#endif #include <libbutl/export.hxx> @@ -50,5 +53,3 @@ namespace butl }; #endif // _WIN32 - -#endif // LIBBUTL_WIN32_UTILITY_HXX |