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
@ -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…
x
Reference in New Issue
Block a user