mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
aa2e09da2a
commit
a0a3f6c69b
2 changed files with 4 additions and 1 deletions
|
@ -136,7 +136,7 @@
|
||||||
|
|
||||||
/*! [Begin] no source code translation */
|
/*! [Begin] no source code translation */
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(_LINUX) || defined(__linux__)
|
||||||
#include "aclinux.h"
|
#include "aclinux.h"
|
||||||
|
|
||||||
#elif defined(_AED_EFI)
|
#elif defined(_AED_EFI)
|
||||||
|
|
|
@ -91,7 +91,10 @@
|
||||||
#define ACPI_USE_NATIVE_DIVIDE
|
#define ACPI_USE_NATIVE_DIVIDE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __cdecl
|
||||||
#define __cdecl
|
#define __cdecl
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ACPI_FLUSH_CPU_CACHE()
|
#define ACPI_FLUSH_CPU_CACHE()
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue