blob: 277fe2fa4d9b38289890d5688f88cab678d7f60d [file] [log] [blame]
Erik Schmauss95857632018-03-14 16:13:07 -07001/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
Lv Zhengd13bd5a2014-05-12 15:46:32 +08002/******************************************************************************
3 *
4 * Name: acenvex.h - Extra host and compiler configuration
5 *
Bob Moore4441e552021-01-15 10:48:25 -08006 * Copyright (C) 2000 - 2021, Intel Corp.
Lv Zhengd13bd5a2014-05-12 15:46:32 +08007 *
Erik Schmauss95857632018-03-14 16:13:07 -07008 *****************************************************************************/
Lv Zhengd13bd5a2014-05-12 15:46:32 +08009
10#ifndef __ACENVEX_H__
11#define __ACENVEX_H__
12
13/*! [Begin] no source code translation */
14
15/******************************************************************************
16 *
17 * Extra host configuration files. All ACPICA headers are included before
18 * including these files.
19 *
20 *****************************************************************************/
21
22#if defined(_LINUX) || defined(__linux__)
23#include <acpi/platform/aclinuxex.h>
24
Bob Mooref38a4372015-05-21 10:30:03 +080025#elif defined(__DragonFly__)
26#include "acdragonflyex.h"
27
Lv Zheng4e2fc6a2016-08-04 16:44:52 +080028/*
29 * EFI applications can be built with -nostdlib, in this case, it must be
30 * included after including all other host environmental definitions, in
31 * order to override the definitions.
32 */
Lv Zhengd2d48ea2016-08-04 16:45:32 +080033#elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
Lv Zheng4e2fc6a2016-08-04 16:44:52 +080034#include "acefiex.h"
35
Lv Zhengd13bd5a2014-05-12 15:46:32 +080036#endif
37
Lv Zheng34f3a91b2016-08-04 16:45:47 +080038#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
39#include "acgccex.h"
40
41#elif defined(_MSC_VER)
Lv Zheng9fa1ceb2016-08-04 16:45:40 +080042#include "acmsvcex.h"
43
44#endif
45
Lv Zhengd13bd5a2014-05-12 15:46:32 +080046/*! [End] no source code translation !*/
47
48#endif /* __ACENVEX_H__ */