summaryrefslogtreecommitdiff
path: root/development/4th/02-to_preserve_32bit_compatibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/4th/02-to_preserve_32bit_compatibility.patch')
-rw-r--r--development/4th/02-to_preserve_32bit_compatibility.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/development/4th/02-to_preserve_32bit_compatibility.patch b/development/4th/02-to_preserve_32bit_compatibility.patch
new file mode 100644
index 0000000000..8daf0062c1
--- /dev/null
+++ b/development/4th/02-to_preserve_32bit_compatibility.patch
@@ -0,0 +1,14 @@
+diff -Nur 4th-3.62.2-unix/sources/4th.h 4th-3.62.2-unix.new/sources/4th.h
+--- 4th-3.62.2-unix/sources/4th.h 2012-04-09 18:15:03.000000000 +0200
++++ 4th-3.62.2-unix.new/sources/4th.h 2014-04-13 16:23:07.122971512 +0200
+@@ -62,8 +62,8 @@
+ #define M4BADNAM 28
+ #define M4CABORT 29
+
+-#define CELL_MIN LONG_MIN
+-#define CELL_MAX LONG_MAX
++#define CELL_MIN INT_MIN
++#define CELL_MAX INT_MAX
+
+ typedef long cell;
+ typedef unsigned char unit;