Module Name:    src
Committed By:   christos
Date:           Thu Jul 28 00:45:30 UTC 2011

Modified Files:
        src/lib/libedit: sys.h

Log Message:
more portability defines


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libedit/sys.h

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

Modified files:

Index: src/lib/libedit/sys.h
diff -u src/lib/libedit/sys.h:1.13 src/lib/libedit/sys.h:1.14
--- src/lib/libedit/sys.h:1.13	Wed Dec 30 17:37:40 2009
+++ src/lib/libedit/sys.h	Wed Jul 27 20:45:30 2011
@@ -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 */
 

Reply via email to