Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7442


Ignore:
Timestamp:
Sep 13, 2010, 1:29:13 PM (14 years ago)
Author:
adrfried
Message:

moved AI_ADDRCONFIG definition to header

Location:
code/branches/ipv6/src/external/enet
Files:
2 edited

Legend:

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

    r7438 r7442  
    5555#define ENET_SOCKETSET_CHECK(sockset, socket)  FD_ISSET (socket, & (sockset))
    5656
     57#ifndef AI_ADDRCONFIG
     58#define AI_ADDRCONFIG 0x0400 /* AI_ADDRCONFIG is not defined everywhere */
     59#endif
     60
    5761#endif /* __ENET_WIN32_H__ */
    5862
  • code/branches/ipv6/src/external/enet/win32.c

    r7438 r7442  
    129129
    130130    memset(& hints, 0, sizeof (hints));
    131 #ifdef AI_ADDRCONFIG
    132131    hints.ai_flags = AI_ADDRCONFIG;
    133 #else
    134     hints.ai_flags = 0x0400; // AI_ADDRCONFIG is defined as 0x0400
    135 #endif
    136132    hints.ai_family = AF_UNSPEC;
    137133
Note: See TracChangeset for help on using the changeset viewer.