summaryrefslogtreecommitdiffstats
path: root/master/x86_64-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'master/x86_64-support.patch')
-rw-r--r--master/x86_64-support.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/master/x86_64-support.patch b/master/x86_64-support.patch
new file mode 100644
index 0000000..f4fc9c5
--- /dev/null
+++ b/master/x86_64-support.patch
@@ -0,0 +1,37 @@
+diff --git a/sysdefs.h b/sysdefs.h
+index d145cd5..31b08b1 100644
+--- a/sysdefs.h
++++ b/sysdefs.h
+@@ -526,6 +526,32 @@ typedef unsigned long Card64;
+
+ #endif /* __alpha */
+
++
++#ifdef __x86_64
++#define ARCHPRNAME "x86_64"
++
++#ifdef __linux__
++#define ARCHSYSNAME "unknown-linux"
++#define DEFSMADE
++#define OPENRDMODE "r"
++#define OPENWRMODE "w"
++#define OPENUPMODE "r+"
++#define IEEEFLOAT
++typedef signed char Integ8;
++typedef unsigned char Card8;
++typedef signed short Integ16;
++typedef unsigned short Card16;
++#define HAS16
++typedef signed int Integ32;
++typedef unsigned int Card32;
++typedef signed long Integ64;
++typedef unsigned long Card64;
++#define HAS64
++#define LOCALE_NLS
++#endif
++
++#endif /* __x86_64 */
++
+ /*===========================================================================*/
+ /* Intel i386 platforms */
+