From 1f42384b613fdab9b8d289eb45f72f88b5543245 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 18 Jun 2004 11:55:36 +0000 Subject: [PATCH] - use long as return type on 64-bit arch Changed files: BitchX-types.patch -> 1.1 --- BitchX-types.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 BitchX-types.patch diff --git a/BitchX-types.patch b/BitchX-types.patch new file mode 100644 index 0000000..df8173e --- /dev/null +++ b/BitchX-types.patch @@ -0,0 +1,14 @@ +--- BitchX/include/module.h.orig 2003-04-11 03:09:07.000000000 +0200 ++++ BitchX/include/module.h 2004-06-18 12:18:28.000000000 +0200 +@@ -15,7 +15,11 @@ + + #include "struct.h" + ++#if defined(__alpha__) || defined(__x86_64__) || defined(__ia64__) ++typedef long (*Function_ptr)(); ++#else + typedef int (*Function_ptr)(); ++#endif + + #ifdef WANT_DLL + #ifdef HPUX -- 2.44.0