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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy