Subversion Repositories Tewi

Rev

Rev 311 | Rev 315 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 311 Rev 312
Line 1... Line 1...
1
/* $Id: tw_config.h 311 2024-10-13 01:23:22Z nishi $ */
1
/* $Id: tw_config.h 312 2024-10-13 18:17:37Z nishi $ */
2
 
2
 
3
#ifndef __TW_CONFIG_H__
3
#ifndef __TW_CONFIG_H__
4
#define __TW_CONFIG_H__
4
#define __TW_CONFIG_H__
5
 
5
 
6
#ifdef __cplusplus
6
#ifdef __cplusplus
Line 23... Line 23...
23
#define NO_IPV6
23
#define NO_IPV6
24
#else
24
#else
25
#ifdef __PPU__
25
#ifdef __PPU__
26
#include <net/net.h>
26
#include <net/net.h>
27
#endif
27
#endif
-
 
28
#if !defined(__OS2__)
28
#include <netinet/in.h>
29
#include <netinet/in.h>
-
 
30
#endif
29
#ifdef __HAIKU__
31
#ifdef __HAIKU__
30
#define NO_IPV6
32
#define NO_IPV6
31
#endif
33
#endif
32
#endif
34
#endif
33
 
35
 
34
#ifdef NO_IPV6
36
#if defined(NO_IPV6)
35
#define SOCKADDR struct sockaddr_in
37
#define SOCKADDR struct sockaddr_in
36
#else
38
#else
37
#define SOCKADDR struct sockaddr_in6
39
#define SOCKADDR struct sockaddr_in6
38
#endif
40
#endif
39
 
41