Commit 3e03ed66 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 4c7399e9
2019-05-20 Jakub Jelinek <jakub@redhat.com>
PR libgomp/90527
* alloc.c (_GNU_SOURCE): Define.
2019-05-17 Thomas Schwinge <thomas@codesourcery.com> 2019-05-17 Thomas Schwinge <thomas@codesourcery.com>
* acc_prof.h: New file. * acc_prof.h: New file.
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
places in the OpenMP API do not make any provision for failure, so in places in the OpenMP API do not make any provision for failure, so in
general we cannot allow memory allocation to fail. */ general we cannot allow memory allocation to fail. */
#define _GNU_SOURCE
#include "libgomp.h" #include "libgomp.h"
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment