understand: MAP_ANONYMOUS was not declared (where can it be
  found?).

I think the problem is that POSIX specifies mmap but not MAP_ANON or
MAP_ANONYMOUS, found in <sys/mman.h>.  On NetBSD the constant is
MAP_ANON.  My somewhat fuzzy memory is that mmap was a BSD invention,
and I'd expect NetBSD matches 4.4BSD (and 4.2BSD if mmap were there), so
that would lead me to believe the sources should use MAP_ANON and have
some fixup for systems that use MAP_ANONYMOUS but don't define MAP_ANON.

Attachment: pgpDo8LJzQLfu.pgp
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to