diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2015-08-29 13:01:54 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2015-08-29 13:01:54 +0000 |
commit | 34ae233a54a2dddf8cdc517572c48b31320a82d1 (patch) | |
tree | 4d847903a1ffce57c72428b33258bb906387f6da /libgfortran | |
parent | 107051a502a526a228793a8c09b863fde04e3001 (diff) | |
download | gcc-34ae233a54a2dddf8cdc517572c48b31320a82d1.zip gcc-34ae233a54a2dddf8cdc517572c48b31320a82d1.tar.gz gcc-34ae233a54a2dddf8cdc517572c48b31320a82d1.tar.bz2 |
* io/unix.c (min): Remove unused macro.
From-SVN: r227317
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/io/unix.c | 11 |
2 files changed, 4 insertions, 11 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index a0b70ed..31481e5 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2015-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + * io/unix.c (min): Remove unused macro. + 2015-08-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR fortran/53668 diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 4d8726c..aa2feab 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 |