diff options
Diffstat (limited to 'libcxx/src/locale.cpp')
| -rw-r--r-- | libcxx/src/locale.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index e73e6d57de5..3b4c83a0900 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -28,7 +28,6 @@ #define _CTYPE_DISABLE_MACROS #endif #include "cwctype" -#include "__atomic_support" #include "__sso_allocator" #if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__) #include "support/win32/locale_win32.h" @@ -668,7 +667,7 @@ locale::id::__get() void locale::id::__init() { - __id_ = __libcpp_sync_add_and_fetch(&__next_id, 1); + __id_ = __sync_add_and_fetch(&__next_id, 1); } // template <> class collate_byname<char> |

