diff options
author | Konstantin Belousov <kostik@pooma.home> | 2010-03-06 16:46:52 +0200 |
---|---|---|
committer | Konstantin Belousov <kostik@pooma.home> | 2010-03-06 16:46:52 +0200 |
commit | d7f51410753f67c0ae1caa5fbdb428f7718b99ec (patch) | |
tree | c3085c470c0d70dfe9e9cf06bdaedc6d94aea261 /tests | |
parent | 3eabce18b1e70c3b26975024e450977dfb4b84b9 (diff) | |
download | libunwind-d7f51410753f67c0ae1caa5fbdb428f7718b99ec.tar.gz |
MAP_ANONYMOUS
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mapper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mapper.c b/tests/mapper.c index 1006a8c4..6edce711 100644 --- a/tests/mapper.c +++ b/tests/mapper.c @@ -36,6 +36,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <sys/mman.h> +#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) +# define MAP_ANONYMOUS MAP_ANON +#endif + int main (int argc, char **argv) { |