Add a bunch of Glk library implementations.
[gentoo-interactive-fiction.git] / dev-games / glkloader / files / glkloader-0.3.2-64bit.patch
blob628826ff8d2daa5cbf2de9521614999390141366
1 --- glkloader-0.3.2/glk.h~ 2001-03-14 03:07:59.000000000 +0000
2 +++ glkloader-0.3.2/glk.h 2007-07-11 16:00:42.000000000 +0100
3 @@ -17,8 +17,9 @@
4 /* You may have to edit the definition of glui32 to make sure it's really a
5 32-bit unsigned integer type, and glsi32 to make sure it's really a
6 32-bit signed integer type. If they're not, horrible things will happen. */
7 -typedef unsigned long glui32;
8 -typedef signed long glsi32;
9 +#include <stdint.h>
10 +typedef uint32_t glui32;
11 +typedef int32_t glsi32;
13 /* These are the compile-time conditionals that reveal various Glk optional
14 modules. */