regset.h 1013 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. /*===- llvm/Support/Solaris/sys/regset.h ------------------------*- C++ -*-===*
  7. *
  8. * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. * See https://llvm.org/LICENSE.txt for license information.
  10. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. *
  12. *===----------------------------------------------------------------------===*
  13. *
  14. * This file works around excessive name space pollution from the system header
  15. * on Solaris hosts.
  16. *
  17. *===----------------------------------------------------------------------===*/
  18. #ifndef LLVM_SUPPORT_SOLARIS_SYS_REGSET_H
  19. #include_next <sys/regset.h>
  20. #undef CS
  21. #undef DS
  22. #undef ES
  23. #undef FS
  24. #undef GS
  25. #undef SS
  26. #undef EAX
  27. #undef ECX
  28. #undef EDX
  29. #undef EBX
  30. #undef ESP
  31. #undef EBP
  32. #undef ESI
  33. #undef EDI
  34. #undef EIP
  35. #undef UESP
  36. #undef EFL
  37. #undef ERR
  38. #undef TRAPNO
  39. #endif
  40. #ifdef __GNUC__
  41. #pragma GCC diagnostic pop
  42. #endif