diff options
Diffstat (limited to 'include/acpi/platform/acenv.h')
-rw-r--r-- | include/acpi/platform/acenv.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index 974d3ef7c141..b402eb67af83 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
@@ -96,13 +96,14 @@ | |||
96 | #endif | 96 | #endif |
97 | 97 | ||
98 | /* | 98 | /* |
99 | * acpi_bin/acpi_dump/acpi_src/acpi_xtract configuration. All single | 99 | * acpi_bin/acpi_dump/acpi_src/acpi_xtract/Example configuration. All single |
100 | * threaded, with no debug output. | 100 | * threaded, with no debug output. |
101 | */ | 101 | */ |
102 | #if (defined ACPI_BIN_APP) || \ | 102 | #if (defined ACPI_BIN_APP) || \ |
103 | (defined ACPI_DUMP_APP) || \ | 103 | (defined ACPI_DUMP_APP) || \ |
104 | (defined ACPI_SRC_APP) || \ | 104 | (defined ACPI_SRC_APP) || \ |
105 | (defined ACPI_XTRACT_APP) | 105 | (defined ACPI_XTRACT_APP) || \ |
106 | (defined ACPI_EXAMPLE_APP) | ||
106 | #define ACPI_APPLICATION | 107 | #define ACPI_APPLICATION |
107 | #define ACPI_SINGLE_THREADED | 108 | #define ACPI_SINGLE_THREADED |
108 | #endif | 109 | #endif |
@@ -394,4 +395,13 @@ typedef char *va_list; | |||
394 | 395 | ||
395 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ | 396 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ |
396 | 397 | ||
398 | #ifndef ACPI_FILE | ||
399 | #ifdef ACPI_APPLICATION | ||
400 | #include <stdio.h> | ||
401 | #define ACPI_FILE FILE * | ||
402 | #else | ||
403 | #define ACPI_FILE void * | ||
404 | #endif /* ACPI_APPLICATION */ | ||
405 | #endif /* ACPI_FILE */ | ||
406 | |||
397 | #endif /* __ACENV_H__ */ | 407 | #endif /* __ACENV_H__ */ |