Subversion Repositories Tewi

Rev

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

Rev 347 Rev 349
Line 1... Line 1...
1
/* $Id: tw_config.h 347 2024-10-15 16:33:28Z nishi $ */
1
/* $Id: tw_config.h 349 2024-10-15 20:08:08Z 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
	uint32_t s_addr;
-
 
42
};
-
 
43
struct sockaddr_in {
-
 
44
	uint16_t sin_family;
-
 
45
	uint16_t sin_port;
-
 
46
	struct in_addr sin_addr;
-
 
47
	uint8_t sin_zero[8];
-
 
48
};
-
 
49
#endif
-
 
50
 
39
#if defined(NO_IPV6)
51
#if defined(NO_IPV6)
40
#define SOCKADDR struct sockaddr_in
52
#define SOCKADDR struct sockaddr_in
41
#else
53
#else
42
#define SOCKADDR struct sockaddr_in6
54
#define SOCKADDR struct sockaddr_in6
43
#endif
55
#endif