[Fwd: [MinGW-dvlpr] winsock2.h]

Christopher Faylor cgf@redhat.com
Mon Feb 5 20:31:00 GMT 2001


On Mon, Feb 05, 2001 at 10:46:07PM -0500, Earnie Boyd wrote:
>Danny Smith wrote:
>
>> This is what's in windows.h now.
>>
>> #ifndef WIN32_LEAN_AND_MEAN
>> #include <commdlg.h>
>> #include <cderr.h>
>> #include <dde.h>
>> #include <ddeml.h>
>> #include <dlgs.h>
>> #include <lzexpand.h>
>> #include <mmsystem.h>
>> #include <nb30.h>
>> #include <rpc.h>
>> #include <shellapi.h>
>> #include <winperf.h>
>> #include <winspool.h>
>> #if defined(Win32_Winsock) ||
>>  !(defined(__INSIDE_CYGWIN__) || defined(__CYGWIN__) || defined
>> (__CYGWIN32__) || defined(_UWIN))
>> #include <winsock.h>
>> #endif
>> #endif /* WIN32_LEAN_AND_MEAN */
>
>Is this __INSIDE_CYGWIN__ needed?  Danny's trying to clean up the winsock.h and
>winsock2.h header files.

Dunno.  Should be pretty simple to find out.  Try building Cygwin with it
removed.

cgf


More information about the Cygwin-developers mailing list