Mercurial > projects > ldc
comparison druntime/import/stdc/posix/netinet/tcp.d @ 760:6f33b427bfd1
Seems like hg ignores .di files, so I missed a bunch of stuff. complete druntime should be there now :)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 00:19:18 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
759:d3eb054172f9 | 760:6f33b427bfd1 |
---|---|
1 /** | |
2 * D header file for POSIX. | |
3 * | |
4 * Copyright: Public Domain | |
5 * License: Public Domain | |
6 * Authors: Sean Kelly | |
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition | |
8 */ | |
9 module stdc.posix.netinet.tcp; | |
10 | |
11 private import stdc.posix.config; | |
12 | |
13 extern (C): | |
14 | |
15 // | |
16 // Required | |
17 // | |
18 /* | |
19 TCP_NODELAY | |
20 */ | |
21 | |
22 version( linux ) | |
23 { | |
24 const TCP_NODELAY = 1; | |
25 } | |
26 else version( darwin ) | |
27 { | |
28 const TCP_NODELAY = 1; | |
29 } | |
30 else version( freebsd ) | |
31 { | |
32 const TCP_NODELAY = 1; | |
33 } |