changeset 14647:e12901b28472

Some systems (e.g. FreeBSD 5.3) only define MAP_ANON, not MAP_ANONYMOUS
author reimar
date Sat, 05 Feb 2005 11:53:30 +0000
parents 5eb0f60a6962
children 069ee5fb161c
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Feb 04 23:39:31 2005 +0000
+++ b/configure	Sat Feb 05 11:53:30 2005 +0000
@@ -6992,6 +6992,10 @@
 $_def_mman
 $_def_mman_has_map_failed
 
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
 /* Define this if you have the elf dynamic linker -ldl library */
 $_def_dl