From 6faebd0a1027ee2f77842667d9d1261c19f34d1d Mon Sep 17 00:00:00 2001 From: manu Date: Tue, 16 Aug 2011 07:55:29 +0000 Subject: Add macros to hide OpenGroup extened API set 2 from GNU configure. This is a temporary workaround until the implementation is completed. --- include/limits.h | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/limits.h b/include/limits.h index dd633b1526c..d9a440ce7c0 100644 --- a/include/limits.h +++ b/include/limits.h @@ -1,4 +1,4 @@ -/* $NetBSD: limits.h,v 1.29 2010/06/07 13:52:29 tnozaki Exp $ */ +/* $NetBSD: limits.h,v 1.30 2011/08/16 07:55:29 manu Exp $ */ /* * Copyright (c) 1988, 1993 @@ -110,6 +110,29 @@ #define MB_LEN_MAX 32 /* Allow ISO/IEC 2022 */ +/* + * X/Open Extended API set 2 (a.k.a. C063) + * This hides unimplemented functions from GNU configure until + * we are done implementing them. + */ +#if !defined(_INCOMPLETE_XOPEN_C063) +#define __stub_linkat +#define __stub_renameat +#define __stub_mkfifoat +#define __stub_mknodat +#define __stub_mkdirat +#define __stub_faccessat +#define __stub_fchmodat +#define __stub_fchownat +#define __stub_fexecve +#define __stub_fstatat +#define __stub_utimensat +#define __stub_openat +#define __stub_readlinkat +#define __stub_symlinkat +#define __stub_unlinkat +#endif + #include #include -- cgit