Add MIN MAX macro to param header file.

newlib/ChangeLog:
2015-07-28  Andre Vieira  <andre.simoesdiasvieira@arm.com>

   * libc/sys/arm/sys/param.h (MIN,MAX): Define.

From 536ca7365d269f5e56679048e336d6969186d550 Mon Sep 17 00:00:00 2001
From: Andre Simoes Dias Vieira <andsim01@arm.com>
Date: Tue, 28 Jul 2015 14:19:08 +0100
Subject: [PATCH] Added min max macros
This commit is contained in:
Andre Vieira 2015-07-31 10:29:08 +01:00 committed by Corinna Vinschen
parent a732159809
commit 9303de77d9
1 changed files with 3 additions and 0 deletions

View File

@ -16,4 +16,7 @@
# define PATHSIZE (1024)
#endif
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif