fix potential issue with glib shim min/max defines

This commit is contained in:
Nadia Holmquist Pedersen 2024-08-07 17:49:29 +02:00
parent 4359bccfcb
commit 53c58bd777
1 changed files with 2 additions and 2 deletions

View File

@ -68,10 +68,10 @@
#define GLIB_SIZEOF_VOID_P 8 #define GLIB_SIZEOF_VOID_P 8
#ifndef MAX #ifndef MAX
#define MAX(a, b) (a > b ? a : b) #define MAX(a, b) ((a) > (b) ? (a) : (b))
#endif #endif
#ifndef MIN #ifndef MIN
#define MIN(a, b) (a < b ? a : b) #define MIN(a, b) ((a) < (b) ? (a) : (b))
#endif #endif
#ifndef TRUE #ifndef TRUE