xref: /linux/include/acpi/platform/acenvex.h (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
195857638SErik Schmauss /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2d13bd5a6SLv Zheng /******************************************************************************
3d13bd5a6SLv Zheng  *
4d13bd5a6SLv Zheng  * Name: acenvex.h - Extra host and compiler configuration
5d13bd5a6SLv Zheng  *
6*612c2932SBob Moore  * Copyright (C) 2000 - 2023, Intel Corp.
7d13bd5a6SLv Zheng  *
895857638SErik Schmauss  *****************************************************************************/
9d13bd5a6SLv Zheng 
10d13bd5a6SLv Zheng #ifndef __ACENVEX_H__
11d13bd5a6SLv Zheng #define __ACENVEX_H__
12d13bd5a6SLv Zheng 
13d13bd5a6SLv Zheng /*! [Begin] no source code translation */
14d13bd5a6SLv Zheng 
15d13bd5a6SLv Zheng /******************************************************************************
16d13bd5a6SLv Zheng  *
17d13bd5a6SLv Zheng  * Extra host configuration files. All ACPICA headers are included before
18d13bd5a6SLv Zheng  * including these files.
19d13bd5a6SLv Zheng  *
20d13bd5a6SLv Zheng  *****************************************************************************/
21d13bd5a6SLv Zheng 
22d13bd5a6SLv Zheng #if defined(_LINUX) || defined(__linux__)
23d13bd5a6SLv Zheng #include <acpi/platform/aclinuxex.h>
24d13bd5a6SLv Zheng 
25f38a4378SBob Moore #elif defined(__DragonFly__)
26f38a4378SBob Moore #include "acdragonflyex.h"
27f38a4378SBob Moore 
284e2fc6a0SLv Zheng /*
294e2fc6a0SLv Zheng  * EFI applications can be built with -nostdlib, in this case, it must be
304e2fc6a0SLv Zheng  * included after including all other host environmental definitions, in
314e2fc6a0SLv Zheng  * order to override the definitions.
324e2fc6a0SLv Zheng  */
33d2d48eaeSLv Zheng #elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
344e2fc6a0SLv Zheng #include "acefiex.h"
354e2fc6a0SLv Zheng 
36d13bd5a6SLv Zheng #endif
37d13bd5a6SLv Zheng 
3895207db8SMasahiro Yamada #if defined(__GNUC__)
3934f3a91bSLv Zheng #include "acgccex.h"
4034f3a91bSLv Zheng 
4134f3a91bSLv Zheng #elif defined(_MSC_VER)
429fa1cebdSLv Zheng #include "acmsvcex.h"
439fa1cebdSLv Zheng 
449fa1cebdSLv Zheng #endif
459fa1cebdSLv Zheng 
46d13bd5a6SLv Zheng /*! [End] no source code translation !*/
47d13bd5a6SLv Zheng 
48d13bd5a6SLv Zheng #endif				/* __ACENVEX_H__ */
49