Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat add UINT32_MAX if it's not defined



details:   https://anonhg.NetBSD.org/src/rev/702ba1c6f27a
branches:  trunk
changeset: 525957:702ba1c6f27a
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Apr 22 15:09:19 2002 +0000

description:
add UINT32_MAX if it's not defined

diffstat:

 tools/compat/compat_defs.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r b9dcbfd41d38 -r 702ba1c6f27a tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Mon Apr 22 13:08:34 2002 +0000
+++ b/tools/compat/compat_defs.h        Mon Apr 22 15:09:19 2002 +0000
@@ -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 @@
 #define le64toh(x)     htole64(x)
 #endif
 
+/* <stdint.h> */
+
+#ifndef UINT32_MAX
+#define UINT32_MAX 0xffffffffU
+#endif
+
 /* <sys/mman.h> */
 
 #ifndef MAP_FILE



Home | Main Index | Thread Index | Old Index