blob: a0ec8299a9244612c375e0f79fb7160d27a017bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ai,v 1.2 2010/01/16 16:28:58 asau Exp $
--- include/ffi_common.h.orig 2009-12-29 18:22:26.000000000 +0300
+++ include/ffi_common.h 2010-01-12 12:47:54.000000000 +0300
@@ -99,6 +99,15 @@
typedef uint64_t UINT64;
typedef int64_t SINT64;
# endif
+#elif defined(__digital__) && !defined(__GNUC__) /* XXX tnn: check sunpro */
+typedef unsigned int UINT8;
+typedef signed int SINT8;
+typedef unsigned int UINT16;
+typedef signed int SINT16;
+typedef unsigned int UINT32;
+typedef signed int SINT32;
+typedef unsigned int UINT64;
+typedef signed int SINT64;
#else
typedef unsigned int UINT8 __attribute__((__mode__(__QI__)));
typedef signed int SINT8 __attribute__((__mode__(__QI__)));
|