diff options
author | Kamil Rytarowski <n54@gmx.com> | 2016-02-19 22:26:15 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2016-02-19 22:26:15 +0100 |
commit | a4d72ac431ca439d79fb61b92480a499216b3f35 (patch) | |
tree | fe1c056b82d2018dbb5cd43a677475a1ac3f5e30 /src/debug | |
parent | c0d7cb0cccfa6b088397638f94aa0de106fc5ac4 (diff) | |
download | coreclr-a4d72ac431ca439d79fb61b92480a499216b3f35.tar.gz coreclr-a4d72ac431ca439d79fb61b92480a499216b3f35.tar.bz2 coreclr-a4d72ac431ca439d79fb61b92480a499216b3f35.zip |
Fix NetBSD build: Define PAL_STDCPP_COMPAT=1 for twowaypipe.cpp
After recent changes in twowaypipe.cpp, this file started to use <pal.h>.
If we are mixing <pal.h> 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
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/debug-pal/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |