gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] Re: socket support for Windows: patch


From: Jens Yllman
Subject: Re: [gnugo-devel] Re: socket support for Windows: patch
Date: Sat, 18 Dec 2004 12:29:04 +0100

I guess to detect win32 use _WIN32. That should not be in cygwin. I use that for my programs. I've tried to find the diffrence of WIN32/_WIN32/__WIN32. And I know there is some text in C/C++ standard describing the use of single and dubble underscore.

cygwin should not signal _WIN32 anyway. Because cygwin is not realy windows. It's an emulation of UNIX. Only on the outside is it needed to see that it is windows. If you compile with -no-cygwin you get _WIN32 set. Because then it is mingw32 which is not a UNIX emulation.

Jens Yllman

At 21:54 2004-12-14, Teun Burgers wrote:
Paul wrote:

> This patch (not ready yet) adds socket support for Windows.

I guess the #if lines should read like this:

+#if (defined(WIN32) || defined(_WIN32_WCE)) && !defined(__CYGWIN__)

Teun


_______________________________________________
gnugo-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnugo-devel





reply via email to

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