mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-05-30 00:40:38 +00:00
Use GLIB types if stdint.h is not available
This commit is contained in:
parent
90b0352343
commit
5a2bb5a109
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue