diff options
author | Bob Moore <robert.moore@intel.com> | 2007-03-27 20:25:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-03 01:55:36 -0400 |
commit | a0a3f6c69b45dcafefdce5dbac2221c02aaae871 (patch) | |
tree | a6ab7ed49eb626ad4374de9ea4cca1ccf2866da1 /include/acpi/platform | |
parent | aa2e09da2a332e748532aa2a71b090e7e7c3203d (diff) |
ACPICA: Changes for Cygwin compatibility
Allow generation of ACPICA apps on Cygwin.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/platform')
-rw-r--r-- | include/acpi/platform/acenv.h | 2 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index dab2ec59a3b..c785485e62a 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h @@ -136,7 +136,7 @@ /*! [Begin] no source code translation */ -#if defined(__linux__) +#if defined(_LINUX) || defined(__linux__) #include "aclinux.h" #elif defined(_AED_EFI) diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index a568717f98c..6ed15a0978e 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h @@ -91,7 +91,10 @@ #define ACPI_USE_NATIVE_DIVIDE #endif +#ifndef __cdecl #define __cdecl +#endif + #define ACPI_FLUSH_CPU_CACHE() #endif /* __KERNEL__ */ |