Redefinition of MIN is avoided in midi.c (#18203)
This commit is contained in:
parent
de1d6b6f15
commit
f04336ff46
|
@ -19,7 +19,9 @@
|
||||||
#include "midi.h"
|
#include "midi.h"
|
||||||
#include <string.h> //for memcpy
|
#include <string.h> //for memcpy
|
||||||
|
|
||||||
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
#ifndef MIN
|
||||||
|
# define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NULL
|
#ifndef NULL
|
||||||
# define NULL 0
|
# define NULL 0
|
||||||
|
|
Loading…
Reference in New Issue