Commit 54d62aa3 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Don't bother compiling the binary compatibility

2008-08-21  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c: Don't bother compiling the binary
	compatibility g_io_channel_win32_new_stream_socket()
	function that has not been mentioned in any header since 2.0 on
	Win64.

	* glib/glib.symbols: Mark it, too, private, and don't export it on
	Win64.


svn path=/trunk/; revision=7384
parent 5becc45b
2008-08-21 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Minor comment improvements. Improve run-time
warning messages. Drop some #if 0 code.
warning messages. Drop some #if 0 code. Don't bother compiling the
binary compatibility g_io_channel_win32_new_stream_socket()
function that has not been mentioned in any header since 2.0 on
Win64.
* glib/glib.symbols: Mark it, too, private, and don't export it on
Win64.
2008-08-21 Tor Lillqvist <tml@novell.com>
......
......@@ -2131,6 +2131,8 @@ g_io_channel_win32_make_pollfd (GIOChannel *channel,
fd->events = condition;
}
#ifndef _WIN64
/* Binary compatibility */
GIOChannel *
g_io_channel_win32_new_stream_socket (int socket)
......@@ -2138,5 +2140,7 @@ g_io_channel_win32_new_stream_socket (int socket)
return g_io_channel_win32_new_socket (socket);
}
#endif
#define __G_IO_WIN32_C__
#include "galiasdef.c"
......@@ -501,7 +501,9 @@ g_io_channel_win32_make_pollfd
g_io_channel_win32_new_fd
g_io_channel_win32_new_messages
g_io_channel_win32_new_socket
g_io_channel_win32_new_stream_socket
#ifndef _WIN64
g_io_channel_win32_new_stream_socket PRIVATE
#endif
g_io_channel_win32_poll
g_io_channel_win32_set_debug
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment