From 42de9db2762a63f69321fc4e89ea81e16a5a206a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 11 Nov 2008 05:09:51 +0000 Subject: Integrate module sources into build system. Various hackery to get it to build for non-RO platforms. A bunch of const-correctness fixes. Hack around strict aliasing warning. Don't expect the menu code to work on 64bit platforms. Sprinkling a bit of intptr_t around may well be some kind of solution. svn path=/trunk/iconv/; revision=5680 --- module/kernel.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 module/kernel.h (limited to 'module/kernel.h') diff --git a/module/kernel.h b/module/kernel.h new file mode 100644 index 0000000..fa92afe --- /dev/null +++ b/module/kernel.h @@ -0,0 +1,19 @@ +/* Our own, minimal, kernel.h */ + +#ifndef iconv_myswis_h_ +#define iconv_myswis_h_ + +#include + +typedef struct _kernel_oserror { + int errnum; + char errmess[252]; +} _kernel_oserror; + +/* Why intptr_t? Because it's got a chance of working on 64bit machines */ +typedef struct _kernel_swi_regs { + intptr_t r[10]; +} _kernel_swi_regs; + +#endif + -- cgit v1.2.3