acenvex.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
  2. /******************************************************************************
  3. *
  4. * Name: acenvex.h - Extra host and compiler configuration
  5. *
  6. * Copyright (C) 2000 - 2022, Intel Corp.
  7. *
  8. *****************************************************************************/
  9. #ifndef __ACENVEX_H__
  10. #define __ACENVEX_H__
  11. /*! [Begin] no source code translation */
  12. /******************************************************************************
  13. *
  14. * Extra host configuration files. All ACPICA headers are included before
  15. * including these files.
  16. *
  17. *****************************************************************************/
  18. #if defined(_LINUX) || defined(__linux__)
  19. #include <acpi/platform/aclinuxex.h>
  20. #elif defined(__DragonFly__)
  21. #include "acdragonflyex.h"
  22. /*
  23. * EFI applications can be built with -nostdlib, in this case, it must be
  24. * included after including all other host environmental definitions, in
  25. * order to override the definitions.
  26. */
  27. #elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
  28. #include "acefiex.h"
  29. #endif
  30. #if defined(__GNUC__) && !defined(__INTEL_COMPILER)
  31. #include "acgccex.h"
  32. #elif defined(_MSC_VER)
  33. #include "acmsvcex.h"
  34. #endif
  35. /*! [End] no source code translation !*/
  36. #endif /* __ACENVEX_H__ */