1
0
forked from 0ad/0ad

quick fix to compile in VC6

This was SVN commit r155.
This commit is contained in:
janwas 2004-02-28 17:59:02 +00:00
parent 6cdd5b1cc3
commit 9100db6737
2 changed files with 8 additions and 2 deletions

View File

@ -435,8 +435,8 @@ struct sockaddr_in6 {
extern const struct in6_addr in6addr_any; /* :: */ extern const struct in6_addr in6addr_any; /* :: */
extern const struct in6_addr in6addr_loopback; /* ::1 */ 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_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_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
// //
// <netdb.h> // <netdb.h>

View File

@ -27,6 +27,12 @@
#include "mem.h" #include "mem.h"
#include "vfs.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> #include <zlib.h>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma comment(lib, "zlib.lib") #pragma comment(lib, "zlib.lib")