From 13317850d06b6ac5a2d670b8d0791ea05a1a42b0 Mon Sep 17 00:00:00 2001 From: robert Date: Tue, 11 Sep 2018 18:31:58 +0000 Subject: instead of defining _LIBCPP_DEBUG in debug.cpp which enables some debug code which breaks quiet a few things, define _LIBCPP_BUILDING_LIBRARY for the complete build to get the needed definitions in debug.cpp without enabling debug code --- lib/libcxx/src/debug.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/libcxx/src') diff --git a/lib/libcxx/src/debug.cpp b/lib/libcxx/src/debug.cpp index c0739275d96..f2fc1ceb495 100644 --- a/lib/libcxx/src/debug.cpp +++ b/lib/libcxx/src/debug.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_DEBUG 1 #include "__config" #include "__debug" #include "functional" -- cgit v1.2.3-59-g8ed1b