From 34ae233a54a2dddf8cdc517572c48b31320a82d1 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sat, 29 Aug 2015 13:01:54 +0000 Subject: [PATCH] * io/unix.c (min): Remove unused macro. From-SVN: r227317 --- libgfortran/ChangeLog | 4 ++++ libgfortran/io/unix.c | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index a0b70ed4c35..31481e5fef2 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2015-08-29 Francois-Xavier Coudert + + * io/unix.c (min): Remove unused macro. + 2015-08-28 Francois-Xavier Coudert PR fortran/53668 diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 4d8726c494b..aa2feabebf0 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -110,17 +110,6 @@ id_from_fd (const int fd) #endif /* __MINGW32__ */ -/* min macro that evaluates its arguments only once. */ -#ifdef min -#undef min -#endif - -#define min(a,b) \ - ({ typeof (a) _a = (a); \ - typeof (b) _b = (b); \ - _a < _b ? _a : _b; }) - - /* These flags aren't defined on all targets (mingw32), so provide them here. */ #ifndef S_IRGRP -- 2.30.2