mirror of
https://github.com/acpica/acpica/
synced 2025-01-13 21:09:18 +03:00
Changes for Cygwin compatibility.
Allow generation of ACPICA apps on Cygwin.
This commit is contained in:
parent
21771513c0
commit
34e1a4c900
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Name: acenv.h - Generation environment specific items
|
* Name: acenv.h - Generation environment specific items
|
||||||
* $Revision: 1.131 $
|
* $Revision: 1.132 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -211,7 +211,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)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Name: aclinux.h - OS specific defines, etc.
|
* Name: aclinux.h - OS specific defines, etc.
|
||||||
* $Revision: 1.42 $
|
* $Revision: 1.43 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -158,7 +158,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__ */
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: acpisrc.h - Include file for AcpiSrc utility
|
* Module Name: acpisrc.h - Include file for AcpiSrc utility
|
||||||
* $Revision: 1.41 $
|
* $Revision: 1.42 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -141,7 +141,9 @@ max (int a, int b)
|
|||||||
return (a > b ? a : b);
|
return (a > b ? a : b);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef O_BINARY
|
||||||
#define O_BINARY 0x0
|
#define O_BINARY 0x0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define mkdir(x) mkdir(x, 0770)
|
#define mkdir(x) mkdir(x, 0770)
|
||||||
#define stricmp strcasecmp
|
#define stricmp strcasecmp
|
||||||
|
Loading…
Reference in New Issue
Block a user