Message ID | 20121209174526.GA19911@hiauly1.hia.nrc.ca |
---|---|
State | New |
Headers | show |
Index: gcc.dg/20030711-1.c =================================================================== --- gcc.dg/20030711-1.c (revision 194272) +++ gcc.dg/20030711-1.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 <stdlib.h> void __attribute__((noinline)) test (const char *p) Index: gcc.dg/20050826-1.c =================================================================== --- gcc.dg/20050826-1.c (revision 194272) +++ gcc.dg/20050826-1.c (working copy) @@ -12,6 +12,9 @@ #ifndef MAP_ANON #define MAP_ANON 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *)-1) +#endif #include <stdlib.h> struct Flags {