Add s390 and powerpc definitions to io_linux.h
This commit is contained in:
parent
e3234465e2
commit
dce9607d6e
1 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,8 @@
|
||||||
|
|
||||||
/* Hmm. These constants vary a bit between systems. */
|
/* Hmm. These constants vary a bit between systems. */
|
||||||
/* (__sh__ includes both sh and sh64) */
|
/* (__sh__ includes both sh and sh64) */
|
||||||
#if defined(__i386__) || defined(__sh__) || defined(__arm__)||defined(__x86_64__)
|
/* (__s390__ includes both s390 and s390x) */
|
||||||
|
#if defined(__i386__) || defined(__sh__) || defined(__arm__) || defined(__x86_64__) || defined(__s390__)
|
||||||
#define CHRONY_IOC_NRBITS 8
|
#define CHRONY_IOC_NRBITS 8
|
||||||
#define CHRONY_IOC_TYPEBITS 8
|
#define CHRONY_IOC_TYPEBITS 8
|
||||||
#define CHRONY_IOC_SIZEBITS 14
|
#define CHRONY_IOC_SIZEBITS 14
|
||||||
|
@ -26,7 +27,7 @@
|
||||||
#define CHRONY_IOC_READ 2U
|
#define CHRONY_IOC_READ 2U
|
||||||
#define CHRONY_IOC_WRITE 4U
|
#define CHRONY_IOC_WRITE 4U
|
||||||
|
|
||||||
#elif defined(__mips__) || defined(__mips32__)
|
#elif defined(__mips__) || defined(__mips32__) || defined(__powerpc__)
|
||||||
#define CHRONY_IOC_NRBITS 8
|
#define CHRONY_IOC_NRBITS 8
|
||||||
#define CHRONY_IOC_TYPEBITS 8
|
#define CHRONY_IOC_TYPEBITS 8
|
||||||
#define CHRONY_IOC_SIZEBITS 13
|
#define CHRONY_IOC_SIZEBITS 13
|
||||||
|
|
Loading…
Reference in a new issue