__undef___deallocate 709 B

1234567891011121314151617181920
  1. // -*- C++ -*-
  2. //===----------------------------------------------------------------------===//
  3. //
  4. // The LLVM Compiler Infrastructure
  5. //
  6. // This file is dual licensed under the MIT and the University of Illinois Open
  7. // Source Licenses. See LICENSE.TXT for details.
  8. //
  9. //===----------------------------------------------------------------------===//
  10. #ifdef __deallocate
  11. #if !defined(_LIBCPP_DISABLE_MACRO_CONFLICT_WARNINGS)
  12. #if defined(_MSC_VER) && !defined(__clang__)
  13. _LIBCPP_WARNING("macro __deallocate is incompatible with C++. #undefining __deallocate")
  14. #else
  15. #warning: macro __deallocate is incompatible with C++. #undefining __deallocate
  16. #endif
  17. #endif
  18. #undef __deallocate
  19. #endif