forked from mirrors/qmk_firmware
Redefinition of MIN is avoided in midi.c (#18203)
This commit is contained in:
parent
de1d6b6f15
commit
f04336ff46
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@
|
|||
#include "midi.h"
|
||||
#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
|
||||
# define NULL 0
|
||||
|
|
Loading…
Reference in a new issue