packages/mail/xmail/patches/030-sysmachine.patch
blogic 65beb18983 add xmail uci scripts, thanks pqa #3753
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 20:21:01 +00:00

29 lines
634 B
Diff

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
+