fix potential issue with glib shim min/max defines
This commit is contained in:
parent
4359bccfcb
commit
53c58bd777
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue