Sweden-Number/include/minmax.h

18 lines
270 B
C
Raw Normal View History

/*
* 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 */