--- 2.22-endian.patch	2005-08-30 16:19:00.000000000 +0200
+++ 2.22-endian-amd64.patch	2005-08-30 16:17:42.000000000 +0200
@@ -32,7 +32,7 @@
 +	/*Return the result*/
 +	return data.f;
 +}
-+#elif __i386__
++#elif defined( __i386__ ) || defined (__x86_64__)
  #define _LITTLE_ENDIAN
 +#else
 +#define _BIG_ENDIAN