diff --git a/src/utils/fluidsynth_priv.h b/src/utils/fluidsynth_priv.h index 01271005..24c69a67 100644 --- a/src/utils/fluidsynth_priv.h +++ b/src/utils/fluidsynth_priv.h @@ -128,6 +128,17 @@ typedef unsigned __int32 uint32_t; typedef signed __int64 int64_t; typedef unsigned __int64 uint64_t; +#else + +/* Assume GLIB types */ +typedef gint8 int8_t; +typedef guint8 uint8_t; +typedef gint16 int16_t; +typedef guint16 uint16_t; +typedef gint32 int32_t; +typedef guint32 uint32_t; +typedef guint64 uint64_t; + #endif #if defined(WIN32) && HAVE_WINDOWS_H