mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 11:29:26 +00:00
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 <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 New Issue
Block a user