mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +01:00
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:
parent
5becc45bf4
commit
54d62aa368
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user