ReactOS 0.4.15-dev-7834-g00c4b3d
minmax.h
Go to the documentation of this file.
1
6#ifndef _INC_MINMAX
7#define _INC_MINMAX
8
9#ifndef __cplusplus
10#ifndef NOMINMAX
11#ifndef max
12#define max(a,b) (((a) > (b)) ? (a) : (b))
13#endif
14
15#ifndef min
16#define min(a,b) (((a) < (b)) ? (a) : (b))
17#endif
18#endif
19#endif
20
21#endif