delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/11/03:50:16

From: earnie_boyd AT hotmail DOT com (Earnie Boyd)
Subject: Re: Win32_Winsock?
11 Mar 1998 03:50:16 -0800 :
Message-ID: <19980310184250.6771.qmail.cygnus.gnu-win32@hotmail.com>
To: bd720 AT yfn2 DOT ysu DOT edu
Cc: gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019