add UINT32_MAX if it's not defined

This commit is contained in:
lukem 2002-04-22 15:09:19 +00:00
parent 554a5b8a3a
commit 7de4309228
1 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_defs.h,v 1.10 2002/04/18 15:31:51 bjh21 Exp $ */
/* $NetBSD: compat_defs.h,v 1.11 2002/04/22 15:09:19 lukem Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@ -372,6 +372,12 @@ void *setmode(const char *);
#define le64toh(x) htole64(x)
#endif
/* <stdint.h> */
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffffU
#endif
/* <sys/mman.h> */
#ifndef MAP_FILE