source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/minmax.h@ 1180

Last change on this file since 1180 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 441 bytes
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
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
Note: See TracBrowser for help on using the repository browser.