Commit | Line | Data |
---|---|---|
3719602c PC |
1 | /* license:BSD-3-Clause |
2 | * copyright-holders:Aaron Giles | |
3 | *************************************************************************** | |
4 | ||
5 | minmax.h | |
6 | ||
7 | ***************************************************************************/ | |
8 | ||
9 | #pragma once | |
10 | ||
11 | #ifndef __MINMAX_H__ | |
12 | #define __MINMAX_H__ | |
13 | ||
14 | #if defined(RARCH_INTERNAL) || defined(__LIBRETRO__) | |
15 | #include <retro_miscellaneous.h> | |
16 | #else | |
17 | #define MAX(x, y) (((x) > (y)) ? (x) : (y)) | |
18 | #define MIN(x, y) ((x) < (y) ? (x) : (y)) | |
19 | #endif | |
20 | ||
21 | #endif |