mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Avoid PAGESIZE redefinition
Add #ifndef PAGESIZE to avoid redefinition warning on platforms where this value is already provided. Signed-off-by: stf <s@ctrlc.hu> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #382
This commit is contained in:
parent
ec18fe3ce8
commit
f9bde4f74b
@ -102,9 +102,12 @@
|
||||
#define PRIO_TO_NICE(prio) ((prio) - MAX_RT_PRIO - 20)
|
||||
#endif
|
||||
|
||||
/* Missing macros
|
||||
/*
|
||||
* Missing macros
|
||||
*/
|
||||
#ifndef PAGESIZE
|
||||
#define PAGESIZE PAGE_SIZE
|
||||
#endif
|
||||
|
||||
/* from Solaris sys/byteorder.h */
|
||||
#define BSWAP_8(x) ((x) & 0xff)
|
||||
|
Loading…
Reference in New Issue
Block a user