Files
pkgsrc-ng/devel/libffi/patches/patch-ai
2013-09-26 17:14:40 +02:00

21 lines
714 B
Plaintext

$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__)));