From 55c24924dd108bc4fc020fbd875839e9c692ffc1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 1 Oct 2017 03:26:36 +0200 Subject: Additional includes in std.core, new std.regex and std.threading --- std-threading.mxx | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 std-threading.mxx (limited to 'std-threading.mxx') diff --git a/std-threading.mxx b/std-threading.mxx new file mode 100644 index 0000000..ab397cc --- /dev/null +++ b/std-threading.mxx @@ -0,0 +1,60 @@ +// file : std-threading.mxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +export module std.threading; // Dummy. + +#if 0 +// Pre-includes. +// +#include "std-detect.hxx" + +#if defined(_MSC_VER) +#error TODO +#elif defined(__GLIBCXX__) + +// +# define _GLIBCXX_TUPLE +# define _GLIBCXX_CHRONO +# define __EXCEPTION__ // +# define _GLIBCXX_TYPE_TRAITS +# define _GLIBCXX_SYSTEM_ERROR +# define _GLIBCXX_STD_FUNCTION_H // +# define _FUNCTEXCEPT_H +# define _MOVE_H + +// +# include // Missing include. + +// +# define _CONCURRENCE_H // +# define _ALLOC_TRAITS_H // +# define _ALLOCATOR_H // +# define _UNIQUE_PTR_H // +# define _SHARED_PTR_H // +# define _CXXABI_FORCED_H // +# include // Missing include. + +// +# define _GLIBCXX_MEMORY +# define _FUNCTIONAL_HASH_H // +# define _GLIBCXX_INVOKE_H // + +# include +#elif defined(_LIBCPP_VERSION) +#endif + +export module std.threading; + +#ifdef __GLIBCXX__ +import std.core; +#endif + +export +{ +#include +#include +#include +#include +} +#endif -- cgit v1.1