re PR libgomp/90527 (alloc.c:72:7: error: implicit declaration of function ‘posix_memalign’)

PR libgomp/90527
	* alloc.c (_GNU_SOURCE): Define.

From-SVN: r271438
This commit is contained in:
Jakub Jelinek 2019-05-20 23:29:17 +02:00 committed by Jakub Jelinek
parent 4c7399e992
commit 3e03ed6626
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-05-20 Jakub Jelinek <jakub@redhat.com>
PR libgomp/90527
* alloc.c (_GNU_SOURCE): Define.
2019-05-17 Thomas Schwinge <thomas@codesourcery.com>
* acc_prof.h: New file.

View File

@ -27,6 +27,7 @@
places in the OpenMP API do not make any provision for failure, so in
general we cannot allow memory allocation to fail. */
#define _GNU_SOURCE
#include "libgomp.h"
#include <stdlib.h>