Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Add macros to hide OpenGroup extened API set 2 from ...



details:   https://anonhg.NetBSD.org/src/rev/4355002866f3
branches:  trunk
changeset: 768396:4355002866f3
user:      manu <manu%NetBSD.org@localhost>
date:      Tue Aug 16 07:55:29 2011 +0000

description:
Add macros to hide OpenGroup extened API set 2 from GNU configure. This
is a temporary  workaround until the implementation is completed.

diffstat:

 include/limits.h |  25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 9292b5c5f7f4 -r 4355002866f3 include/limits.h
--- a/include/limits.h  Tue Aug 16 07:52:32 2011 +0000
+++ b/include/limits.h  Tue Aug 16 07:55:29 2011 +0000
@@ -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 <machine/limits.h>
 #include <sys/syslimits.h>
 



Home | Main Index | Thread Index | Old Index