diff options
Diffstat (limited to 'libcxx/include/__atomic_support')
| -rw-r--r-- | libcxx/include/__atomic_support | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/libcxx/include/__atomic_support b/libcxx/include/__atomic_support deleted file mode 100644 index e53140cb569..00000000000 --- a/libcxx/include/__atomic_support +++ /dev/null @@ -1,31 +0,0 @@ -// -*- C++ -*- -//===------------------------ __atomic_support -----------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef _LIBCPP___ATOMIC_SUPPORT -#define _LIBCPP___ATOMIC_SUPPORT - -#include <__config> - -template<typename T> -T __libcpp_sync_add_and_fetch(T *ptr, T value) { - return __sync_add_and_fetch(ptr, value); -} - -template<typename T> -T __libcpp_sync_fetch_and_add(T *ptr, T value) { - return __sync_fetch_and_add(ptr, value); -} - -template<typename T> -T __libcpp_sync_lock_test_and_set(T *ptr, T value) { - return __sync_lock_test_and_set(ptr, value); -} - -#endif //_LIBCPP___ATOMIC_SUPPORT |

