Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Win32 Winsock patch
Home

[Freeciv-Dev] Win32 Winsock patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Win32 Winsock patch
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 6 Feb 2001 00:31:45 +0000 (WET)

Ok i cleaned Andreas's patch up a bit:
 * changed to Freeciv style (death to GNU! :->)
 * added my_shutdown_network()
 * checks for failing to init the winsock dll
 * tweaks to configure.in
 * changed lotsa WIN32_NATIVE for HAVE_WINSOCK_H)
 * minor tweaks

It still needs some cleaning up:
 * still more WIN32_NATIVE stuff to eliminate
 * win-stdin.c has gotta go. move to common/ & make a set of callbacks to
  be used in the server which wrap that stdin kludge for win32 & other
  platforms.
 * cleanup configure.in still got lotsa freaky stuff there:
    WINDRES?, win32 detection?

    WTF is this? :-)
+      CLIENT_LIBS="-lwsock32 -mwindows gui-win32/freeciv-rc.o"
                                        ^^^^^^^^^^^^^^^^^^^^^^

Oh yeah: testing if it actually works in win32 would probably be a good
idea too ;-)

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

Attachment: freeciv-winsock.diff.gz
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]