mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[CRT] Add missing posix error codes
These are required by latest mingw-w64 stl and we are mixing this with our crt headers. Define _CRT_NO_POSIX_ERROR_CODES in all modules that define their own constants.
This commit is contained in:
parent
8eb7a1a2f4
commit
81bdf4e360
7 changed files with 55 additions and 6 deletions
3
sdk/lib/3rdparty/adns/CMakeLists.txt
vendored
3
sdk/lib/3rdparty/adns/CMakeLists.txt
vendored
|
@ -5,7 +5,8 @@ include_directories(
|
|||
|
||||
add_definitions(
|
||||
-D_DLL -D__USE_CRTIMP
|
||||
-DADNS_JGAA_WIN32)
|
||||
-DADNS_JGAA_WIN32
|
||||
-D_CRT_NO_POSIX_ERROR_CODES)
|
||||
|
||||
list(APPEND SOURCE
|
||||
adns_win32/adns_unix_calls.c
|
||||
|
|
3
sdk/lib/3rdparty/libmpg123/CMakeLists.txt
vendored
3
sdk/lib/3rdparty/libmpg123/CMakeLists.txt
vendored
|
@ -9,7 +9,8 @@ add_definitions(
|
|||
-Dread=_read
|
||||
-Dstrdup=_strdup
|
||||
-D_CRT_NONSTDC_NO_DEPRECATE
|
||||
-D_DLL -D__USE_CRTIMP)
|
||||
-D_DLL -D__USE_CRTIMP
|
||||
-D_CRT_NO_POSIX_ERROR_CODES)
|
||||
|
||||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libmpg123)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue