[vlc-devel] compiling in cygwin with -mno-cygiwn

R. Bernstein rocky at panix.com
Tue Mar 9 12:44:41 CET 2004

I have started looking into getting libcddb and libcdio to build in
cygwin without POSIX emulation, i.e. with -mno-cygwin.

Looking at vlc's ipv4.c I see that instead of 
#   include <netdb.h>
#   include <sys/socket.h>
#   include <netinet/in.h>

I have to use:

#   include <winsock2.h>
#   include <ws2tcpip.h>

Okay. Here are some other things that comes up a bit.

fprintf(stderr, ... 

causes problems. It gets replaced by _iob or something like that. And
errno isn't defined either. 

Anyone know what corresponding magic is needed for cygwin/mingw here? 


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list