From patchwork Thu Jan 3 01:50:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [committed] gcc.dg/pr55430.c: Define MAP_FAILED if not defined Date: Wed, 02 Jan 2013 15:50:26 -0000 From: John David Anglin X-Patchwork-Id: 209167 Message-Id: <20130103015025.GA8936@hiauly1.hia.nrc.ca> To: gcc-patches@gcc.gnu.org Tested on hppa1.1-hp-hpux10.20. Dave Index: gcc.dg/pr55430.c =================================================================== --- gcc.dg/pr55430.c (revision 194729) +++ gcc.dg/pr55430.c (working copy) @@ -11,6 +11,9 @@ #ifndef MAP_ANON #define MAP_ANON 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *)-1) +#endif #include struct S