Redefinition of MIN is avoided in midi.c (#18203)

This commit is contained in:
3araht 2022-08-30 04:18:53 +09:00 committed by GitHub
parent de1d6b6f15
commit f04336ff46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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