diff options
author | Zbigniew Baniewski <zb@ispid.com.pl> | 2011-10-15 07:59:36 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-10-22 10:17:07 -0200 |
commit | a2837c5a192bf9692ff02e2124baaad8f6f76566 (patch) | |
tree | 686d582ec555cb46902fee26441fd2b9b5cfdb49 /development/4th/01-if_for_64bit.patch | |
parent | 183ee1043c5b6104b03e72644775019f27aba3b4 (diff) | |
download | slackbuilds-a2837c5a192bf9692ff02e2124baaad8f6f76566.tar.gz |
development/4th: Added (The friendly Forth compiler/interpreter)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/4th/01-if_for_64bit.patch')
-rw-r--r-- | development/4th/01-if_for_64bit.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/development/4th/01-if_for_64bit.patch b/development/4th/01-if_for_64bit.patch new file mode 100644 index 0000000000..51aa0d8a11 --- /dev/null +++ b/development/4th/01-if_for_64bit.patch @@ -0,0 +1,19 @@ +diff -Nur 4th-3.61.2-unix/sources/4th.h 4th-3.61.2-unix.new/sources/4th.h +--- 4th-3.61.2-unix/sources/4th.h 2009-11-20 23:52:02.000000000 +0000 ++++ 4th-3.61.2-unix.new/sources/4th.h 2011-08-15 19:55:51.674547949 +0000 +@@ -60,11 +60,11 @@ + #define M4DUPNAM 26 + #define M4CABORT 27 + +-#define CELL_MIN LONG_MIN +-#define CELL_MAX LONG_MAX +-#define strtocell(a,b,c) strtol((a),(b),(c)) ++#define CELL_MIN INT_MIN ++#define CELL_MAX INT_MAX ++#define strtocell(a,b,c) (int)strtol((a),(b),(c)) + +-typedef long cell; ++typedef int cell; + typedef unsigned char unit; + + typedef struct { |