contrib: minimal ps: define mips PAGE_SIZE
A patch from Gentoo. Bug-Gentoo: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-process/procps/files/procps-mips-define-pagesize.patch?revision=1.1&view=markup Backported-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
90b201f1f4
commit
f78352f10a
@ -68,8 +68,8 @@
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef PAGE_SIZE
|
||||
#warning PAGE_SIZE not defined, assuming it is 4096
|
||||
#define PAGE_SIZE 4096
|
||||
#warning PAGE_SIZE not defined, using sysconf() to determine correct value
|
||||
#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user