From: dbe AT wgn DOT net ($Bill Luebkert) Subject: Re: SO_ERROR 24 Nov 1997 22:17:06 -0800 Message-ID: <3479955A.F5BD3138.cygnus.gnu-win32@wgn.net> References: <3 DOT 0 DOT 5 DOT 32 DOT 19971123151147 DOT 007a0970 AT 208 DOT 221 DOT 108 DOT 11> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: jman Cc: gnu-win32 AT cygnus DOT com jman wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Is SO_ERROR not in gnu-win32? > I'm trying to port/compile a program to Windows an get this error am > I using the wrong includes? > > `SO_ERROR' undeclared (first use this function) > (Each undeclared identifier is reported only once > for each function it appears in.) > > The includes are > #include > #include I found it twice: F:/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include//mywinsock.h: #define SO_ERROR 0x1007 /* get error status and clear */ F:/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/include//Windows32/Sockets.h: #define SO_ERROR 0x1007 /* get error status and clear */ -- ,-/- __ _ _ $Bill Luebkert (_/ / ) // // DBE Collectibles / ) /--< o // // http://www.wgn.net/~dbe/ -/-' /___/_<_