]> gcc.gnu.org Git - gcc.git/commitdiff
re PR libgomp/90527 (alloc.c:72:7: error: implicit declaration of function ‘posix_mem...
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 May 2019 21:29:17 +0000 (23:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 May 2019 21:29:17 +0000 (23:29 +0200)
PR libgomp/90527
* alloc.c (_GNU_SOURCE): Define.

From-SVN: r271438

libgomp/ChangeLog
libgomp/alloc.c

index e0a128f948f78d5ee6578e34f29c80d1a022153e..0ead223d83ab52b62439617a6165bbe0f3bccbd9 100644 (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.
index 9145e4b94bffbebb3ee327bd09c5e369c3b514f9..c28e32f961e008a870086c9a6017811ecd96e320 100644 (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>
 
This page took 0.079456 seconds and 5 git commands to generate.