[glib] Fix duplicated case value for mingw runtimes defining EOVERLFOW as EFBIG
- From: Sebastian DrÃge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix duplicated case value for mingw runtimes defining EOVERLFOW as EFBIG
- Date: Wed, 28 Nov 2012 15:34:44 +0000 (UTC)
commit 97385dbbe82a628a9997ed85e6c9f58dddf334d0
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Nov 28 16:34:18 2012 +0100
Fix duplicated case value for mingw runtimes defining EOVERLFOW as EFBIG
glib/giochannel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]