diff options
| author | AlexSm <[email protected]> | 2023-12-21 15:05:38 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-21 15:05:38 +0100 |
| commit | e98bcbc74422492351c51646dba3849a138a8ffc (patch) | |
| tree | 38ad7a09b1f9c201ce8a7e3d69f2017388769224 /contrib/libs/cxxsupp/libcxx/src | |
| parent | 559d7083cd8378cb25b9e966dedcca21d413e338 (diff) | |
Import libs 1 (#590)
* Import libs 1
* Add new file without extension
* Add file missed in export config
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h | 10 | ||||
| -rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/new.cpp | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h b/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h index 775d33ea7cf..0bd2bbe6f7e 100644 --- a/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h +++ b/contrib/libs/cxxsupp/libcxx/src/filesystem/filesystem_common.h @@ -135,16 +135,6 @@ size_t error_value<size_t>() { return size_t(-1); } #endif - -#if defined(_MSC_VER) && !defined(__clang__) && defined(_M_IX86) -// FIXME thegeorg@ MSVC on i686 somehow depends on this function presence. -// Further investigation is needed in order to understand the logic behind this. -template <> -unsigned int error_value<unsigned int>() { - return unsigned int(-1); -} -#endif - template <> uintmax_t error_value<uintmax_t>() { return uintmax_t(-1); diff --git a/contrib/libs/cxxsupp/libcxx/src/new.cpp b/contrib/libs/cxxsupp/libcxx/src/new.cpp index 937e8603373..4351923cb54 100644 --- a/contrib/libs/cxxsupp/libcxx/src/new.cpp +++ b/contrib/libs/cxxsupp/libcxx/src/new.cpp @@ -9,6 +9,8 @@ #include <new> #include <stdlib.h> +#include "include/atomic_support.h" + #if defined(_LIBCPP_ABI_MICROSOFT) # if !defined(_LIBCPP_ABI_VCRUNTIME) # include "support/runtime/new_handler_fallback.ipp" |
