Subversion Repositories Tewi

Rev

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

Rev 33 Rev 81
Line 1... Line 1...
1
/* $Id: tw_config.h 33 2024-09-16 12:52:47Z nishi $ */
1
/* $Id: tw_config.h 81 2024-09-19 12:40:33Z 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
#include "tw_http.h"
6
#include "tw_http.h"
Line 11... Line 11...
11
#ifdef __MINGW32__
11
#ifdef __MINGW32__
12
#include <winsock2.h>
12
#include <winsock2.h>
13
#define NO_IPV6
13
#define NO_IPV6
14
#else
14
#else
15
#include <netinet/in.h>
15
#include <netinet/in.h>
-
 
16
#ifdef __HAIKU__
-
 
17
#define NO_IPV6
-
 
18
#endif
16
#endif
19
#endif
17
 
20
 
18
#ifdef NO_IPV6
21
#ifdef NO_IPV6
19
#define SOCKADDR struct sockaddr_in
22
#define SOCKADDR struct sockaddr_in
20
#else
23
#else