Changeset 315 in Main for trunk/Server/tw_config.h


Ignore:
Timestamp:
Oct 14, 2024, 7:01:02 PM (5 weeks ago)
Author:
Nishi
Message:

wip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_config.h

    r312 r315  
    1515#include <stdbool.h>
    1616
    17 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__))
     17#if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__))
    1818#ifdef USE_WINSOCK1
    1919#include <winsock.h>
     
    2626#include <net/net.h>
    2727#endif
    28 #if !defined(__OS2__)
     28#if !defined(__OS2__) && !defined(__NETWARE__)
    2929#include <netinet/in.h>
    3030#endif
     
    3232#define NO_IPV6
    3333#endif
     34#endif
     35
     36#ifdef __NETWARE__
     37struct in_addr {
     38        unsigned int s_addr;
     39};
     40
     41struct sockaddr_in {
     42        unsigned short sin_family;
     43        unsigned short sin_port;
     44        struct in_addr sin_addr;
     45        char sin_zero[8];
     46};
    3447#endif
    3548
Note: See TracChangeset for help on using the changeset viewer.