diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-02-12 09:09:18 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-02-12 09:09:18 +0000 |
commit | 0d24562615cd32fbcde869a683a5aa1eea15d252 (patch) | |
tree | 4f59c7305ac9d9eaf81a28533c00887022f1837a /archivers/deutex/files/patch-src-deutex.h | |
parent | f263495e15759514439ee11c6b79dc082ab2f020 (diff) | |
download | ports-0d24562615cd32fbcde869a683a5aa1eea15d252.tar.gz ports-0d24562615cd32fbcde869a683a5aa1eea15d252.zip |
Notes
Diffstat (limited to 'archivers/deutex/files/patch-src-deutex.h')
-rw-r--r-- | archivers/deutex/files/patch-src-deutex.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/archivers/deutex/files/patch-src-deutex.h b/archivers/deutex/files/patch-src-deutex.h new file mode 100644 index 000000000000..20e713558adb --- /dev/null +++ b/archivers/deutex/files/patch-src-deutex.h @@ -0,0 +1,33 @@ +--- src/deutex.h.orig 1999-12-31 07:20:22.000000000 +0800 ++++ src/deutex.h 2012-02-12 16:53:51.000000000 +0800 +@@ -31,23 +31,13 @@ + #define DeuSF for DOS .EXE Unix Linux OS/2 + *********************************************/ + +-#if defined (__alpha) /*__ALPHA__ for Alpha processor?*/ +-/*long = int64 on a 64bit processor*/ +-typedef char Int8; +-typedef short Int16; +-typedef int Int32; +-typedef unsigned char UInt8; +-typedef unsigned short UInt16; +-typedef unsigned int UInt32; +-#else +-/*long = Int32 on a 32 bit processor*/ +-typedef char Int8; +-typedef short Int16; +-typedef long Int32; +-typedef unsigned char UInt8; +-typedef unsigned short UInt16; +-typedef unsigned long UInt32; +-#endif ++#include <stdint.h> ++typedef int8_t Int8; ++typedef int16_t Int16; ++typedef int32_t Int32; ++typedef uint8_t UInt8; ++typedef uint16_t UInt16; ++typedef uint32_t UInt32; + + #if defined DeuTex + #if defined DeuSF |