Currently it is available on Linux only, and it is more an hint.
Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
+2015-06-27 Pino Toscano <toscano.pino@tiscali.it>
+
+ * src/strings.c: Define MAP_POPULATE if not defined already.
+
2015-06-27 Mark Wielaard <mjw@redhat.com>
* nm.c (show_symbols): First call elf_getdata, then allocate memory.
#include <system.h>
+#ifndef MAP_POPULATE
+# define MAP_POPULATE 0
+#endif
+
/* Prototypes of local functions. */
static int read_fd (int fd, const char *fname, off64_t fdlen);