[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
_POSIX_MAPPED_FILES should not be defined
- Date: Wed, 21 Apr 2010 19:32:40 -0400
- From: dufault at hda.com (Peter Dufault)
- Subject: _POSIX_MAPPED_FILES should not be defined
On Apr 21, 2010, at 5:44 , Chris Johns wrote:
> I am adding mmap and munmap to RTEMS. I have a first pass implementation working. I was not intending this code to be in 4.10 but I am happy to send a copy if you wish to play and improve.
I don't need it, it's just that the pre-processor test macro should be defined appropriately. I was modifying the latest Mongoose svn head and using _POSIX_MAPPED_FILES to avoid including the <sys/mman.h> file and assumed _POSIX_MAPPED_FILES would be undefined.
We working with RTEMS must be sure the POSIX feature test macros match what is left unimplemented unless the trivial (almost devious) implementations such as I posted are supplied.
HD Associates, Inc. Software and System Engineering