Commit aeb5e664 by John David Anglin Committed by John David Anglin

pr55430.c: Define MAP_FAILED if not defined.

	* gcc.dg/pr55430.c: Define MAP_FAILED if not defined.

From-SVN: r194832
parent e25a6711
2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gcc.dg/pr55430.c: Define MAP_FAILED if not defined.
2013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/55818 PR fortran/55818
......
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
#ifndef MAP_ANON #ifndef MAP_ANON
#define MAP_ANON 0 #define MAP_ANON 0
#endif #endif
#ifndef MAP_FAILED
#define MAP_FAILED ((void *)-1)
#endif
#include <stdlib.h> #include <stdlib.h>
struct S struct S
......
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