summaryrefslogtreecommitdiffstats
path: root/sys/sys/unistd.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-07-15 20:37:10 +0000
committerwollman <wollman@FreeBSD.org>2002-07-15 20:37:10 +0000
commit0caa79f7e4bceef8b22d24dc1725a009a7093b36 (patch)
treeb49400e29fbc4a1aca9ae18c1a332c65a40da173 /sys/sys/unistd.h
parentb89239acdb2db364ce32d094e1d8f44c3d55b90f (diff)
downloadFreeBSD-src-0caa79f7e4bceef8b22d24dc1725a009a7093b36.zip
FreeBSD-src-0caa79f7e4bceef8b22d24dc1725a009a7093b36.tar.gz
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.
Diffstat (limited to 'sys/sys/unistd.h')
-rw-r--r--sys/sys/unistd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index ad1cebf..ca0a0c6 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
OpenPOWER on IntegriCloud