[gnio] Fix up minor build issues in last commit



commit fdf6182bb4023db0e5e5f0ba2e8af1876c2d8af6
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Apr 30 10:23:08 2009 +0200

    Fix up minor build issues in last commit
    
    Some issues with the win32 support patch surfaced when building
    in linux.
---
 gio/gsocket.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gio/gsocket.c b/gio/gsocket.c
index 72fd9d9..0269fb7 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -119,7 +119,7 @@ g_socket_details_from_fd (GSocket *socket)
   guint optlen;
   int value;
   int errsv;
-#ifndef G_OS_WIN32
+#ifdef G_OS_WIN32
   BOOL bool_val;
 #else
   int bool_val;
@@ -1511,7 +1511,6 @@ g_socket_receive_message (GSocket                 *socket,
       const gchar *scm_pointer;
       struct cmsghdr *cmsg;
       gsize scm_size;
-      int decoded_messages;
 
       scm_pointer = (const gchar *) msg.msg_control;
       scm_size = msg.msg_controllen;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]