Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 849292a

Browse files
committed
first attempt at centralizing config information for ports
1 parent c028568 commit 849292a

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

src/include/config.h

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,28 @@
44
eventual use of autoconf to build the server
55
*/
66

7-
/* un-Define this if your system does not have <unistd.h> */
8-
#define HAVE_UNISTD_H
7+
#if defined(WIN32)
8+
# define NO_UNISTD_H
9+
# define USES_WINSOCK
10+
#endif /* WIN32 */
911

12+
#if defined(__FreeBSD__) || defined(__NetBSD__)
13+
# define USE_LIMITS_H
14+
#endif
15+
16+
#if defined(bsdi)
17+
# define USE_LIMITS_H
18+
#endif
19+
20+
#if defined(bsdi_2_1)
21+
# define USE_LIMITS_H
22+
#endif
23+
24+
#if defined(aix)
25+
# define NEED_SYS_SELECT_H
26+
#endif
27+
28+
#if defined(irix5)
29+
# define NO_VFORK
30+
#endif
1031

0 commit comments

Comments
 (0)