Mail Archives: cygwin/1998/03/11/03:50:16
There is a Windows32/Sockets.h file that is not included in the
windows.h file.
I suggest that you create a socket.h in your include/sys directory that
contains:
#include <windows.h>
#include <Windows32/Sockets.h>
- \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd AT hotmail DOT com-
------ooo0O--O0ooo-------
>Date: Tue, 10 Mar 1998 05:40:55 GMT
>From: bd720 AT yfn2 DOT ysu DOT edu
>Subject: Win32_Winsock?
>To: gnu-win32 AT cygnus DOT com
>
>I have been able to determine that, without `-DWin32_Winsock' on the
>command line or above `#include <windows.h>', the winsocket definitions
>are not seen. Apparently, the gcc compiler has a piece of code that
>looks for this definition and undefs _GNU_H_WINDOWS32_SOCKETS, which is
>otherwise automatically defined from startup.
>
>Is there anything else that `-DWin32_Winsock' does?
>
>-
>For help on using this list (especially unsubscribing), send a message
to
>"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -