Subversion Repositories Tewi

Rev

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

Rev 328 Rev 347
Line 1... Line 1...
1
/* $Id: tw_config.h 328 2024-10-14 17:54:06Z nishi $ */
1
/* $Id: tw_config.h 347 2024-10-15 16:33:28Z 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 34... Line 34...
34
#ifdef __HAIKU__
34
#ifdef __HAIKU__
35
#define NO_IPV6
35
#define NO_IPV6
36
#endif
36
#endif
37
#endif
37
#endif
38
 
38
 
39
#ifdef __NETWARE__
-
 
40
struct in_addr {
-
 
41
	unsigned int s_addr;
-
 
42
};
-
 
43
 
-
 
44
struct sockaddr_in {
-
 
45
	unsigned short sin_family;
-
 
46
	unsigned short sin_port;
-
 
47
	struct in_addr sin_addr;
-
 
48
	char sin_zero[8];
-
 
49
};
-
 
50
#endif
-
 
51
 
-
 
52
#if defined(NO_IPV6)
39
#if defined(NO_IPV6)
53
#define SOCKADDR struct sockaddr_in
40
#define SOCKADDR struct sockaddr_in
54
#else
41
#else
55
#define SOCKADDR struct sockaddr_in6
42
#define SOCKADDR struct sockaddr_in6
56
#endif
43
#endif