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
This commit is contained in:
Tor Lillqvist 2008-08-21 11:47:04 +00:00 committed by Tor Lillqvist
parent 5becc45bf4
commit 54d62aa368
3 changed files with 14 additions and 2 deletions

View File

@ -1,7 +1,13 @@
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>

View File

@ -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"

View File

@ -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