Changeset 83 in Main for trunk/Server/server.c


Ignore:
Timestamp:
Sep 19, 2024, 9:49:10 PM (8 weeks ago)
Author:
Nishi
Message:

trying to add haiku support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r82 r83  
    132132#ifdef NO_IPV6
    133133                addresses[i].sin_family = AF_INET;
    134 #ifdef __HAIKU__
    135                 if((addresses[i].sin_addr.s_addr = gethostaddr()) == -1){
    136                         addresses[i].sin_addr.s_addr = INADDR_ANY;
    137                 }
    138 #else
    139134                addresses[i].sin_addr.s_addr = INADDR_ANY;
    140 #endif
    141135                addresses[i].sin_port = htons(config.ports[i]);
    142136#else
Note: See TracChangeset for help on using the changeset viewer.