blob: fc1622d858ae2cff0c41c0fc16a740808c47dfe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.1.1.1 2005/03/18 05:25:32 taca Exp $
--- defs.h.orig 2002-01-16 18:22:41.000000000 +0900
+++ defs.h
@@ -19,7 +19,9 @@
#if defined(HAVE_INTTYPES_H)
# include <inttypes.h>
#else
+# if !defined(__sgi)
typedef unsigned char uint8_t;
+# endif
typedef unsigned int uint32_t;
# if SIZEOF_LONG == 8
typedef unsigned long uint64_t;
@@ -27,6 +29,8 @@
typedef unsigned long long uint64_t;
# elif defined(_MSC_VER)
typedef unsigned _int64 uint64_t;
+# elif defined(__sgi)
+ typedef unsigned long long int uint64_t;
# else
# define NO_UINT64_T
# endif
|