From df1ef68cd8e8582724ce1192bfc202e0b9aeaf0c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Sep 2021 19:24:31 +0300 Subject: Get rid of C++ modules related code and rename *.mxx files to *.hxx --- libbutl/backtrace.cxx | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'libbutl/backtrace.cxx') diff --git a/libbutl/backtrace.cxx b/libbutl/backtrace.cxx index 8c9c6ae..c0cf472 100644 --- a/libbutl/backtrace.cxx +++ b/libbutl/backtrace.cxx @@ -1,9 +1,7 @@ // file : libbutl/backtrace.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file -#ifndef __cpp_modules_ts -#include -#endif +#include // We only enable backtrace during bootstrap if we can do it without any // complications of the build scripts/makefiles. @@ -35,30 +33,12 @@ #include -#ifndef __cpp_lib_modules_ts -#include - #ifdef LIBBUTL_BACKTRACE # include // unique_ptr # include // size_t #endif #include -#endif - -// Other includes. - -#ifdef __cpp_modules_ts -module butl.backtrace; - -// Only imports additional to interface. -#ifdef __clang__ -#ifdef __cpp_lib_modules_ts -import std.core; -#endif -#endif - -#endif using namespace std; -- cgit v1.1