mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 11:58:22 +00:00
![Francois Gouget](/assets/img/avatar_default.png)
Added support for NOMINMAX. Remove __min/__max from windef.h, they belong to (msvcrt/)stdlib.h.
18 lines
270 B
C
18 lines
270 B
C
/*
|
|
* min/max macros
|
|
*
|
|
* Copyright 2001 Francois Gouget
|
|
*/
|
|
|
|
#ifndef __WINE_MINMAX_H
|
|
#define __WINE_MINMAX_H
|
|
|
|
#ifndef max
|
|
#define max(a,b) (((a) > (b)) ? (a) : (b))
|
|
#endif
|
|
#ifndef min
|
|
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
|
#endif
|
|
|
|
#endif /* __WINE_MINMAX_H */
|