view modules/pagealign_alloc @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
parents 861d1dfbf37b
children
line wrap: on
line source

Description:
Memory allocation aligned on page boundaries.

Files:
lib/pagealign_alloc.h
lib/pagealign_alloc.c
m4/mmap-anon.m4
m4/pagealign_alloc.m4

Depends-on:
error
extensions
getpagesize
gettext-h
stdlib
xalloc
unistd

configure.ac:
gl_PAGEALIGN_ALLOC

Makefile.am:
lib_SOURCES += pagealign_alloc.c

Include:
"pagealign_alloc.h"

License:
GPL

Maintainer:
bug-gnulib@gnu.org