From a4d72ac431ca439d79fb61b92480a499216b3f35 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Fri, 19 Feb 2016 22:26:15 +0100 Subject: Fix NetBSD build: Define PAL_STDCPP_COMPAT=1 for twowaypipe.cpp After recent changes in twowaypipe.cpp, this file started to use . If we are mixing and system headers we need to define PAL_STDCPP_COMPAT by a preprocessor. Regression has been introduced with https://github.com/dotnet/coreclr/pull/3219 GIT commit ID 4fee7ae253a271cc70028202104e92128d1a5bd8 --- src/debug/debug-pal/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/debug/debug-pal') diff --git a/src/debug/debug-pal/CMakeLists.txt b/src/debug/debug-pal/CMakeLists.txt index 43c1c9fdbe..d9a6cf2e84 100644 --- a/src/debug/debug-pal/CMakeLists.txt +++ b/src/debug/debug-pal/CMakeLists.txt @@ -2,6 +2,7 @@ include_directories(../inc) include_directories(../../pal/inc) +add_definitions(-DPAL_STDCPP_COMPAT=1) if(WIN32) #use static crt -- cgit v1.2.3