From 6e6d40685755ecc9717ad524219de193cf441b00 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 15 Jul 2002 20:37:10 +0000 Subject: [PATCH] Define _POSIX_FSYNC unconditionally. (The standard has enough weasel-words to allow us to claim compliance.) Define a few other nearby feature tests in the way required by 1003.1-2001. --- sys/sys/unistd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index ad1cebf61d4..ca0a0c6ee06 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -160,9 +160,9 @@ #define _POSIX_MEMLOCK_RANGE #endif -/* ??? #define _POSIX_FSYNC 1 */ -#define _POSIX_MAPPED_FILES 1 -#define _POSIX_SHARED_MEMORY_OBJECTS 1 +#define _POSIX_FSYNC 200112L +#define _POSIX_MAPPED_FILES 200112L +#define _POSIX_SHARED_MEMORY_OBJECTS 200112L /* POSIX.1B sysconf options */ #define _SC_ASYNCHRONOUS_IO 28 -- 2.45.2