packages/mail/xmail/patches/030-sysmachine.patch

29 lines
634 B
Diff
Raw Normal View History

diff -urN xmail-1.25.orig/SysMachine.h xmail-1.25/SysMachine.h
--- xmail-1.25.orig/SysMachine.h 1970-01-01 01:00:00.000000000 +0100
+++ xmail-1.25/SysMachine.h 2008-07-28 10:16:47.000000000 +0200
@@ -0,0 +1,24 @@
+#ifndef _MACHDEFS_H
+#define _MACHDEFS_H
+
+
+#undef MACH_BIG_ENDIAN_WORDS
+
+#undef MACH_BIG_ENDIAN_BITFIELD
+
+typedef signed char MachInt8;
+typedef unsigned char MachUInt8;
+#define MACH_TYPE_8BIT char
+
+typedef signed short MachInt16;
+typedef unsigned short MachUInt16;
+#define MACH_TYPE_16BIT short
+
+typedef signed int MachInt32;
+typedef unsigned int MachUInt32;
+#define MACH_TYPE_32BIT int
+
+
+
+#endif
+