Browse Source

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

pull/18209/head 0.18.2
3araht 1 year ago
committed by GitHub
parent
commit
f04336ff46
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      tmk_core/protocol/midi/midi.c

+ 3
- 1
tmk_core/protocol/midi/midi.c 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


Loading…
Cancel
Save