mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-18 18:11:05 +00:00
Replace custom version check by GLIB_CHECK_VERSION
This commit is contained in:
parent
87c7599e63
commit
87a6debba0
1 changed files with 2 additions and 2 deletions
|
@ -232,8 +232,8 @@ int fluid_timer_join(fluid_timer_t *timer);
|
|||
int fluid_timer_stop(fluid_timer_t *timer);
|
||||
|
||||
// Macros to use for pre-processor if statements to test which Glib thread API we have (pre or post 2.32)
|
||||
#define NEW_GLIB_THREAD_API (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 32))
|
||||
#define OLD_GLIB_THREAD_API (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32))
|
||||
#define NEW_GLIB_THREAD_API GLIB_CHECK_VERSION(2,32,0)
|
||||
#define OLD_GLIB_THREAD_API !GLIB_CHECK_VERSION(2,32,0)
|
||||
|
||||
/* Muteces */
|
||||
|
||||
|
|
Loading…
Reference in a new issue