4coder/test_data/lots_of_files/minmax.h

27 lines
464 B
C
Raw Normal View History

2018-03-16 18:19:11 +00:00
/***
*minmax.h - familiar min & max macros
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* Defines min and max macros.
*
* [Public]
*
****/
#pragma once
#ifndef _INC_MINMAX
#define _INC_MINMAX
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif /* max */
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif /* min */
#endif /* _INC_MINMAX */