Tidy up duplication of MIN/MAX fallback implementations (#20236)

This commit is contained in:
Joel Challis
2023-03-23 05:30:30 +00:00
committed by GitHub
parent 42aa83787f
commit b01dc36fbf
8 changed files with 7 additions and 32 deletions

View File

@ -18,10 +18,7 @@
#include "midi.h"
#include <string.h> //for memcpy
#ifndef MIN
# define MIN(x, y) (((x) < (y)) ? (x) : (y))
#endif
#include "util.h"
#ifndef NULL
# define NULL 0