From 97385dbbe82a628a9997ed85e6c9f58dddf334d0 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 28 Nov 2012 16:34:18 +0100 Subject: [PATCH] Fix duplicated case value for mingw runtimes defining EOVERLFOW as EFBIG --- glib/giochannel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/giochannel.c b/glib/giochannel.c index 9e9c1cb..d345773 100644 --- a/glib/giochannel.c +++ b/glib/giochannel.c @@ -824,9 +824,11 @@ g_io_channel_error_from_errno (gint en) #endif #ifdef EOVERFLOW +#if EOVERFLOW != EFBIG case EOVERFLOW: return G_IO_CHANNEL_ERROR_OVERFLOW; #endif +#endif #ifdef EPIPE case EPIPE: -- 2.7.4