mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
fix potential issue with glib shim min/max defines
This commit is contained in:
4
src/net/libslirp/glib/glib.h
vendored
4
src/net/libslirp/glib/glib.h
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user