Update ACPI build wrappers to use new ACPI-CA code.
[dragonfly.git] / sys / dev / acpica5 / include,acglobal.h.patch
1 # $DragonFly: src/sys/dev/acpica5/include,acglobal.h.patch,v 1.1 2007/01/17 17:31:19 y0netan1 Exp $
2
3 --- acglobal.h.orig     2006-09-13 02:49:30.000000000 +0900
4 +++ acglobal.h  2006-11-05 21:06:38.000000000 +0900
5 @@ -321,12 +321,13 @@
6  extern const char                      *AcpiGbl_RegionTypes[ACPI_NUM_PREDEFINED_REGIONS];
7  
8  /* Exception codes */
9 -
10 +#ifndef DEFINE_ACPI_GLOBALS
11  extern      char const                 *AcpiGbl_ExceptionNames_Env[];
12  extern      char const                 *AcpiGbl_ExceptionNames_Pgm[];
13  extern      char const                 *AcpiGbl_ExceptionNames_Tbl[];
14  extern      char const                 *AcpiGbl_ExceptionNames_Aml[];
15  extern      char const                 *AcpiGbl_ExceptionNames_Ctrl[];
16 +#endif
17  
18  
19  /*****************************************************************************