atomic_undef_macros.hpp 913 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright (C) 2013 Vicente J. Botet Escriba
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #if defined(BOOST_INTEL)
  6. #pragma push_macro("atomic_compare_exchange")
  7. #undef atomic_compare_exchange
  8. #pragma push_macro("atomic_compare_exchange_explicit")
  9. #undef atomic_compare_exchange_explicit
  10. #pragma push_macro("atomic_exchange")
  11. #undef atomic_exchange
  12. #pragma push_macro("atomic_exchange_explicit")
  13. #undef atomic_exchange_explicit
  14. #pragma push_macro("atomic_is_lock_free")
  15. #undef atomic_is_lock_free
  16. #pragma push_macro("atomic_load")
  17. #undef atomic_load
  18. #pragma push_macro("atomic_load_explicit")
  19. #undef atomic_load_explicit
  20. #pragma push_macro("atomic_store")
  21. #undef atomic_store
  22. #pragma push_macro("atomic_store_explicit")
  23. #undef atomic_store_explicit
  24. #endif // #if defined(BOOST_INTEL)