Module Name:    src
Committed By:   manu
Date:           Tue Aug 16 07:55:29 UTC 2011

Modified Files:
        src/include: limits.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/include/limits.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/limits.h
diff -u src/include/limits.h:1.29 src/include/limits.h:1.30
--- src/include/limits.h:1.29	Mon Jun  7 13:52:29 2010
+++ src/include/limits.h	Tue Aug 16 07:55:29 2011
@@ -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>
 

Reply via email to