Switch uses of MIN() to SDL_min()

We're excluding files in src/hidapi to minimize the
diff against the upstream project.
This commit is contained in:
Eddy Jansson
2022-04-29 19:30:47 +02:00
committed by Sam Lantinga
parent ca26df3404
commit 6c2928b4be
4 changed files with 7 additions and 20 deletions

View File

@@ -61,11 +61,6 @@ typedef struct tColorY {
Uint8 y;
} tColorY;
/* !
\brief Returns maximum of two numbers a and b.
*/
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
/* !
\brief Number of guard rows added to destination surfaces.