# HG changeset patch # User Matti Hamalainen # Date 1193119567 -10800 # Node ID 1be75b01ded36892a14b4e013121ab08d6bd306b # Parent 8f1c26966b61f8d04bb4dbd824632e04327953aa Use GLib types. diff -r 8f1c26966b61 -r 1be75b01ded3 src/modplug/stddefs.h --- a/src/modplug/stddefs.h Tue Oct 23 09:03:55 2007 +0300 +++ b/src/modplug/stddefs.h Tue Oct 23 09:06:07 2007 +0300 @@ -11,6 +11,8 @@ #if !defined(__MODPLUGXMMS_STDDEFS_H__INCLUDED__) #define __MODPLUGXMMS_STDDEFS_H__INCLUDED__ +#include + #define MODPLUG_CFGID "modplug" #define MODPLUG_CONVERT(X) g_convert(X, -1, "UTF-8", "CP850", NULL, NULL, NULL) @@ -24,17 +26,17 @@ // platforms. For example, long is 64-bit on some 64-bit systems. //u = unsigned //# = size in bits -typedef unsigned char uchar; +typedef guchar uchar; -typedef char int8; -typedef short int16; -typedef int int32; -typedef long long int64; +typedef gint8 int8; +typedef gint16 int16; +typedef gint32 int32; +typedef gint64 int64; -typedef unsigned char uint8; -typedef unsigned short uint16; -typedef unsigned int uint32; -typedef unsigned long long uint64; +typedef guint8 uint8; +typedef guint16 uint16; +typedef guint32 uint32; +typedef guint64 uint64; typedef float float32; typedef double float64;