Commit | Line | Data |
---|---|---|
95857638 | 1 | /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ |
d13bd5a6 LZ |
2 | /****************************************************************************** |
3 | * | |
4 | * Name: acenvex.h - Extra host and compiler configuration | |
5 | * | |
487ea80a | 6 | * Copyright (C) 2000 - 2022, Intel Corp. |
d13bd5a6 | 7 | * |
95857638 | 8 | *****************************************************************************/ |
d13bd5a6 LZ |
9 | |
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 | ||
f38a4378 BM |
25 | #elif defined(__DragonFly__) |
26 | #include "acdragonflyex.h" | |
27 | ||
4e2fc6a0 LZ |
28 | /* |
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 | */ | |
d2d48eae | 33 | #elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI) |
4e2fc6a0 LZ |
34 | #include "acefiex.h" |
35 | ||
d13bd5a6 LZ |
36 | #endif |
37 | ||
95207db8 | 38 | #if defined(__GNUC__) |
34f3a91b LZ |
39 | #include "acgccex.h" |
40 | ||
41 | #elif defined(_MSC_VER) | |
9fa1cebd LZ |
42 | #include "acmsvcex.h" |
43 | ||
44 | #endif | |
45 | ||
d13bd5a6 LZ |
46 | /*! [End] no source code translation !*/ |
47 | ||
48 | #endif /* __ACENVEX_H__ */ |