Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Check for _NETBSD_SOURCE being defined wherever we c...
details: https://anonhg.NetBSD.org/src/rev/f0db7bb48216
branches: trunk
changeset: 783008:f0db7bb48216
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 01 13:28:18 2012 +0000
description:
Check for _NETBSD_SOURCE being defined wherever we check for
_INCOMPLETE_XOPEN_C063 so that we expose the new POSIX extended API set
recently added.
diffstat:
include/unistd.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a1fbbf31db2d -r f0db7bb48216 include/unistd.h
--- a/include/unistd.h Sat Dec 01 11:41:49 2012 +0000
+++ b/include/unistd.h Sat Dec 01 13:28:18 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.136 2012/11/18 17:41:53 manu Exp $ */
+/* $NetBSD: unistd.h,v 1.137 2012/12/01 13:28:18 skrll Exp $ */
/*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -295,7 +295,7 @@
* X/Open Extended API set 2 (a.k.a. C063)
*/
#if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0 >= 700) || \
- defined(_INCOMPLETE_XOPEN_C063) || defined(_KERNEL)
+ defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE)
int linkat(int, const char *, int, const char *, int);
int renameat(int, const char *, int, const char *);
int mkfifoat(int, const char *, mode_t);
Home |
Main Index |
Thread Index |
Old Index