summaryrefslogtreecommitdiffstats
path: root/include/acpi/platform/aclinux.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2007-03-28 02:25:46 +0200
committerLen Brown <len.brown@intel.com>2007-07-03 07:55:36 +0200
commita0a3f6c69b45dcafefdce5dbac2221c02aaae871 (patch)
treea6ab7ed49eb626ad4374de9ea4cca1ccf2866da1 /include/acpi/platform/aclinux.h
parentACPI: fix acpi_osi=!Linux (diff)
downloadlinux-a0a3f6c69b45dcafefdce5dbac2221c02aaae871.tar.xz
linux-a0a3f6c69b45dcafefdce5dbac2221c02aaae871.zip
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/aclinux.h')
-rw-r--r--include/acpi/platform/aclinux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index a568717f98c6..6ed15a0978eb 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__ */