--- /dev/null
+--- mono-0.96/mono/interpreter/mintops.h.orig 2004-04-20 07:18:35.000000000 +0200
++++ mono-0.96/mono/interpreter/mintops.h 2004-06-18 17:36:33.000000000 +0200
+@@ -29,11 +29,19 @@
+ #undef OPDEF
+
+ #if NO_UNALIGNED_ACCESS
++# if __BYTE_ORDER == __LITTLE_ENDIAN
++#define READ32(x) (((guint16 *)(x)) [0] | ((guint16 *)(x)) [1] << 16)
++#define READ64(x) ((guint64)((guint16 *)(x)) [0] | \
++ (guint64)((guint16 *)(x)) [1] << 16 | \
++ (guint64)((guint16 *)(x)) [2] << 32 | \
++ (guint64)((guint16 *)(x)) [3] << 48)
++# else
+ #define READ32(x) (((guint16 *)(x)) [0] << 16 | ((guint16 *)(x)) [1])
+ #define READ64(x) ((guint64)((guint16 *)(x)) [0] << 48 | \
+ (guint64)((guint16 *)(x)) [1] << 32 | \
+ (guint64)((guint16 *)(x)) [2] << 16 | \
+ (guint64)((guint16 *)(x)) [3])
++# endif
+ #else /* unaligned access OK */
+ #define READ32(x) (*(guint32 *)(x))
+ #define READ64(x) (*(guint64 *)(x))