From b5bbe797493ea732d4cac15619753c545ed392af Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 30 Jul 2014 23:24:31 -0400 Subject: add framework for mmap2 syscall unit to vary by arch --- src/internal/syscall.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/internal/syscall.h') diff --git a/src/internal/syscall.h b/src/internal/syscall.h index 0a2840ad..bb96c26e 100644 --- a/src/internal/syscall.h +++ b/src/internal/syscall.h @@ -8,6 +8,10 @@ #define SYSCALL_RLIM_INFINITY (~0ULL) #endif +#ifndef SYSCALL_MMAP2_UNIT +#define SYSCALL_MMAP2_UNIT 4096ULL +#endif + #ifndef __scc #define __scc(X) ((long) (X)) typedef long syscall_arg_t; -- cgit v1.2.3-70-g09d2