Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 12, 2010, 10:56:19 PM (14 years ago)
Author:
landauf
Message:

build fixes for MinGW

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ipv6/src/external/enet/win32.c

    r7433 r7435  
    55#ifdef WIN32
    66
     7#define _WIN32_WINNT 0x0501
     8
    79#include <time.h>
    810#define ENET_BUILDING_LIB 1
     
    127129
    128130    memset(& hints, 0, sizeof (hints));
     131#ifdef AI_ADDRCONFIG
    129132    hints.ai_flags = AI_ADDRCONFIG;
     133#else
     134    hints.ai_flags = 0x0400; // AI_ADDRCONFIG is defined as 0x0400
     135#endif
    130136    hints.ai_family = AF_UNSPEC;
    131137
Note: See TracChangeset for help on using the changeset viewer.