projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9db8692
)
gsocket: fix compilation when ENOTSOCK and WSANOTSOCK are both defined
author
Andoni Morales Alastruey
<ylatuya@gmail.com>
Wed, 29 Feb 2012 10:19:21 +0000
(11:19 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Wed, 29 Feb 2012 10:29:23 +0000
(11:29 +0100)
gio/gsocket.c
patch
|
blob
|
history
diff --git
a/gio/gsocket.c
b/gio/gsocket.c
index
d46d497
..
a28546f
100644
(file)
--- a/
gio/gsocket.c
+++ b/
gio/gsocket.c
@@
-335,10
+335,11
@@
g_socket_details_from_fd (GSocket *socket)
{
#ifdef ENOTSOCK
case ENOTSOCK:
{
#ifdef ENOTSOCK
case ENOTSOCK:
-#e
ndif
+#e
lse
#ifdef WSAENOTSOCK
case WSAENOTSOCK:
#endif
#ifdef WSAENOTSOCK
case WSAENOTSOCK:
#endif
+#endif
case EBADF:
/* programmer error */
g_error ("creating GSocket from fd %d: %s\n",
case EBADF:
/* programmer error */
g_error ("creating GSocket from fd %d: %s\n",