Changeset 6271


Ignore:
Timestamp:
Jun 30, 2008, 7:57:57 PM (12 years ago)
Author:
charles
Message:

possible fix to the getgateway.c build error -- let's see what hudson thinks of it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/libnatpmp/getgateway.c

    r6268 r6271  
    2525 * sockets. */
    2626#ifdef __linux__
    27 #define USE_PROC_NET_ROUTE
    28 #endif
    29 
    30 #ifdef BSD
    31 /*#define USE_SYSCTL_NET_ROUTE*/
    32 #define USE_SOCKET_ROUTE
    33 #endif
    34 
    35 #ifdef __APPLE__
    36 #define USE_SYSCTL_NET_ROUTE
    37 #endif
    38 
    39 #if (defined(sun) && defined(__SVR4))
    40 #define USE_SOCKET_ROUTE
     27  #define USE_PROC_NET_ROUTE
     28#elif defined(__APPLE__)
     29  #define USE_SYSCTL_NET_ROUTE
     30#elif defined(BSD)
     31  /*#define USE_SYSCTL_NET_ROUTE*/
     32  #define USE_SOCKET_ROUTE
     33#elif (defined(sun) && defined(__SVR4))
     34  #define USE_SOCKET_ROUTE
    4135#endif
    4236
Note: See TracChangeset for help on using the changeset viewer.