Hash :
06e24345
Author :
Date :
2024-11-11T09:33:11
getpagesize: Fix use of 'extern inline' (regression 2012-11-20). * lib/unistd.in.h (_GL_GETPAGESIZE_INLINE): New macro. (getpagesize): Use it. * lib/getpagesize.c (_GL_GETPAGESIZE_INLINE): Define. * modules/getpagesize (configure.ac): Compile getpagesize.c also when getpagesize is missing.
Description:
getpagesize() function: Return memory page size.
Files:
lib/getpagesize.c
m4/getpagesize.m4
Depends-on:
unistd
configure.ac:
gl_FUNC_GETPAGESIZE
gl_CONDITIONAL([GL_COND_OBJ_GETPAGESIZE],
[test $HAVE_GETPAGESIZE = 0 || test $REPLACE_GETPAGESIZE = 1])
gl_UNISTD_MODULE_INDICATOR([getpagesize])
Makefile.am:
if GL_COND_OBJ_GETPAGESIZE
lib_SOURCES += getpagesize.c
endif
Include:
<unistd.h>
License:
LGPLv2+
Maintainer:
Jim Meyering