more portability defines

This commit is contained in:
christos 2011-07-28 00:45:30 +00:00
parent c2c011fc82
commit 885062da0b
1 changed files with 21 additions and 1 deletions

View File

@ -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 @@ size_t strlcpy(char *dst, const char *src, size_t size);
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 */