+2005-03-07 Bruno Haible <bruno@clisp.org>
+
+ * pagealign_alloc.c (MAP_FILE, MAP_FAILED): Define fallbacks.
+
2005-03-03 Derek R. Price <derek@ximbiot.com>
Bruno Haible <bruno@clisp.org>
#define _(str) gettext (str)
+#if HAVE_MMAP
+/* Define MAP_FILE when it isn't otherwise. */
+# ifndef MAP_FILE
+# define MAP_FILE 0
+# endif
+/* Define MAP_FAILED for old systems which neglect to. */
+# ifndef MAP_FAILED
+# define MAP_FAILED ((void *)-1)
+# endif
+#endif
+
#if HAVE_MMAP || ! HAVE_POSIX_MEMALIGN
+2005-03-07 Bruno Haible <bruno@clisp.org>
+
+ * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
+
2005-03-03 Bruno Haible <bruno@clisp.org>
* inttypes.m4, isc-posix.m4, once-only.m4:
-# mmap-anon.m4 serial 1
+# mmap-anon.m4 serial 2
dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
config.h and <sys/mman.h>.])
fi
-
- AH_VERBATIM([MAP_FILE],
-[/* Define MAP_FILE when it isn't otherwise. */
-#ifndef MAP_FILE
-# define MAP_FILE 0
-#endif
-
-/* Define MAP_FAILED for old systems which neglect to. */
-#ifndef MAP_FAILED
-# define MAP_FAILED ((void *)-1)
-#endif])
fi
])