diff options
Diffstat (limited to 'unmaintained/chmlib/stdtypes.patch')
-rw-r--r-- | unmaintained/chmlib/stdtypes.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/unmaintained/chmlib/stdtypes.patch b/unmaintained/chmlib/stdtypes.patch deleted file mode 100644 index 0f92320176..0000000000 --- a/unmaintained/chmlib/stdtypes.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/chm_lib.c -+++ src/chm_lib.c -@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32; - typedef __int64 Int64; - typedef unsigned __int64 UInt64; - -+/* Linux: use C standard types */ -+#elif defined(__linux__) -+#include <stdint.h> -+typedef unsigned char UChar; -+typedef int16_t Int16; -+typedef uint16_t UInt16; -+typedef int32_t Int32; -+typedef uint32_t UInt32; -+typedef int64_t Int64; -+typedef uint64_t UInt64; -+ - /* I386, 32-bit, non-Windows */ - /* Sparc */ - /* MIPS */ |