]> err.no Git - linux-2.6/commitdiff
ACPICA: Changes for Cygwin compatibility
authorBob Moore <robert.moore@intel.com>
Wed, 28 Mar 2007 00:25:46 +0000 (20:25 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 3 Jul 2007 05:55:36 +0000 (01:55 -0400)
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>
include/acpi/platform/acenv.h
include/acpi/platform/aclinux.h

index dab2ec59a3b0b7a822d49c99cdec3f98b9834214..c785485e62a6cd55d476da76092deca582b761df 100644 (file)
 
 /*! [Begin] no source code translation */
 
-#if defined(__linux__)
+#if defined(_LINUX) || defined(__linux__)
 #include "aclinux.h"
 
 #elif defined(_AED_EFI)
index a568717f98c6dcbbeb1808fc329b167caafacf7b..6ed15a0978ebb7b9fd0b308699b37eef280e124b 100644 (file)
 #define ACPI_USE_NATIVE_DIVIDE
 #endif
 
+#ifndef __cdecl
 #define __cdecl
+#endif
+
 #define ACPI_FLUSH_CPU_CACHE()
 #endif                         /* __KERNEL__ */