Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit more portability defines
details: https://anonhg.NetBSD.org/src/rev/88526caa5a93
branches: trunk
changeset: 767701:88526caa5a93
user: christos <christos%NetBSD.org@localhost>
date: Thu Jul 28 00:45:30 2011 +0000
description:
more portability defines
diffstat:
lib/libedit/sys.h | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 672222bdc10d -r 88526caa5a93 lib/libedit/sys.h
--- a/lib/libedit/sys.h Thu Jul 28 00:45:14 2011 +0000
+++ b/lib/libedit/sys.h Thu Jul 28 00:45:30 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys.h,v 1.13 2009/12/30 22:37:40 christos Exp $ */
+/* $NetBSD: sys.h,v 1.14 2011/07/28 00:45:30 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -102,6 +102,26 @@
char *fgetln(FILE *fp, size_t *len);
#endif
+#ifndef HAVE_WCSDUP
+wchar_t *wcsdup(const wchar_t *);
+#endif
+
+#ifndef _DIAGASSERT
+#define _DIAGASSERT(x)
+#endif
+
+#ifndef __RCSID
+#define __RCSID(x)
+#endif
+
+#ifndef HAVE_U_INT32_T
+typedef unsigned int u_int32_t;
+#endif
+
+#ifndef SIZE_T_MAX
+#define SIZE_T_MAX ((size_t)-1)
+#endif
+
#define REGEX /* Use POSIX.2 regular expression functions */
#undef REGEXP /* Use UNIX V8 regular expression functions */
Home |
Main Index |
Thread Index |
Old Index