X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fglk.h;h=6b64f88b3347eb04bc68f7a67908b8e26ef6a15a;hb=91214934fbcdfd363202a65c142194506604ff7b;hp=4daa97168c6f7a4a0327a92d5336f518729ccfc2;hpb=d723ff5bb5fbb4d93723e8814a44179ef75e20e7;p=projects%2Fchimara%2Fchimara.git diff --git a/src/glk.h b/src/glk.h index 4daa971..6b64f88 100644 --- a/src/glk.h +++ b/src/glk.h @@ -17,16 +17,16 @@ /* You may have to edit the definition of glui32 to make sure it's really a 32-bit unsigned integer type, and glsi32 to make sure it's really a 32-bit signed integer type. If they're not, horrible things will happen. */ -#include -typedef guint32 glui32; -typedef gint32 glsi32; +#include +typedef uint32_t glui32; +typedef int32_t glsi32; /* These are the compile-time conditionals that reveal various Glk optional modules. */ -/* #define GLK_MODULE_UNICODE */ -/* #define GLK_MODULE_IMAGE */ -/* #define GLK_MODULE_SOUND */ -/* #define GLK_MODULE_HYPERLINKS */ +#define GLK_MODULE_UNICODE +#define GLK_MODULE_IMAGE +#define GLK_MODULE_SOUND +#define GLK_MODULE_HYPERLINKS /* These types are opaque object identifiers. They're pointers to opaque C structures, which are defined differently by each library. */