After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604458 - Windows 2000 doesn't have some network APIs.
Windows 2000 doesn't have some network APIs.
Status: RESOLVED DUPLICATE of bug 603527
Product: glib
Classification: Platform
Component: gio
2.22.x
Other Windows
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-12-13 17:52 UTC by Kazuki Iwamoto
Modified: 2009-12-14 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2009-12-13 17:52:23 UTC
'getaddrinfo', 'getnameinfo' and 'freeaddrinfo' aren't implemented on Windows 2000.
If we try to run a program with GLib on Windows 2000, it will be aborted.

But those APIs are defined in 'wspiapi.h'.
getaddrinfo  -> WspiapiGetAddrInfo
getnameinfo  -> WspiapiGetNameInfo
freeaddrinfo -> WspiapiFreeAddrInfo
(Would you read 'wspiapi.h', if you want to know well.)
They are compatible on Windows 2000.
So I suggest that '#include <wspiapi.h>' is included in 'gnetworkingprivate.h'.
Comment 1 Tor Lillqvist 2009-12-13 19:10:04 UTC
Run some older version of GLib on Windows 2000 then. Or come up with a patch. The "standard" distributed GLib binaries are compiled with MinGW, and the wspiapi.h in MinGW does not include the definitions you refer to. Just Microsoft's does.
Comment 2 Dan Winship 2009-12-13 21:32:43 UTC
also, this is a dup of bug 603527, which also talks about doing a patch that's conditional on non-mingw
Comment 3 Tor Lillqvist 2009-12-14 00:06:15 UTC

*** This bug has been marked as a duplicate of bug 603527 ***