forked from 0ad/0ad
quick fix to compile in VC6
This was SVN commit r155.
This commit is contained in:
parent
6cdd5b1cc3
commit
9100db6737
@ -435,8 +435,8 @@ struct sockaddr_in6 {
|
||||
|
||||
extern const struct in6_addr in6addr_any; /* :: */
|
||||
extern const struct in6_addr in6addr_loopback; /* ::1 */
|
||||
#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
|
||||
#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
|
||||
#define IN6ADDR_ANY_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
|
||||
#define IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
|
||||
|
||||
//
|
||||
// <netdb.h>
|
||||
|
@ -27,6 +27,12 @@
|
||||
#include "mem.h"
|
||||
#include "vfs.h"
|
||||
|
||||
// don't include windows.h from zconf!
|
||||
// not necessary, causes many conflicts.
|
||||
#define _WINDOWS_
|
||||
#define WINAPI __stdcall
|
||||
#define WINAPIV __cdecl
|
||||
|
||||
#include <zlib.h>
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "zlib.lib")
|
||||
|
Loading…
Reference in New Issue
Block a user