[SDK] Fix build with sal.h

* sal.h: add file header, uncomment _Interlocked_operand_ and PAL_STDCPP_COMPAT guard
* When including stl headers, define PAL_STDCPP_COMPAT
This commit is contained in:
Timo Kreuzer 2019-06-23 15:41:26 +02:00
parent 00c8ac9af7
commit 18e835b605
2 changed files with 11 additions and 3 deletions

View file

@ -74,6 +74,7 @@ macro(set_cpp)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/c++/stlport)
else()
replace_compile_flags("-nostdinc" " ")
add_definitions(-DPAL_STDCPP_COMPAT)
endif()
endif()