Hans Leidekker hans@codeweavers.com writes:
- send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_RESOLVING_NAME, connect->servername, strlenW(connect->servername) + 1 );
- if (connect->sockaddr.ss_family == 0xffff)
- {
This won't work on Mac OS, ss_family is a byte:
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -I/sw/include/freetype2 -I/sw/include -I/sw/include -g -O2 -o request.o request.c request.c: In function 'open_connection': request.c:931: warning: comparison is always false due to limited range of data type