Skip to content

Commit

Permalink
ACPICA: Changes for Cygwin compatibility
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Moore authored and Len Brown committed Jul 3, 2007
1 parent aa2e09d commit a0a3f6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/acpi/platform/acenv.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

/*! [Begin] no source code translation */

#if defined(__linux__)
#if defined(_LINUX) || defined(__linux__)
#include "aclinux.h"

#elif defined(_AED_EFI)
Expand Down
3 changes: 3 additions & 0 deletions include/acpi/platform/aclinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@
#define ACPI_USE_NATIVE_DIVIDE
#endif

#ifndef __cdecl
#define __cdecl
#endif

#define ACPI_FLUSH_CPU_CACHE()
#endif /* __KERNEL__ */

Expand Down

0 comments on commit a0a3f6c

Please sign in to comment.