1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00

hurd: Fix libsupport xsigstack build

Hurd does not support MAP_NORESERVE and MAP_STACK.

Checked on i686-gnu build.

	* support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
	are not defined.
This commit is contained in:
Adhemerval Zanella
2019-01-24 09:36:25 -02:00
parent 8e889c5da3
commit 3367acdb34
2 changed files with 10 additions and 0 deletions

View File

@@ -26,6 +26,13 @@
#include <sys/mman.h>
#include <sys/param.h> /* roundup, MAX */
#ifndef MAP_NORESERVE
# define MAP_NORESERVE 0
#endif
#ifndef MAP_STACK
# define MAP_STACK 0
#endif
/* The "cookie" returned by xalloc_sigstack points to one of these
structures. */
struct sigstack_desc