Mercurial > projects > ldc
annotate tango/tango/stdc/config.d @ 132:1700239cab2e trunk
[svn r136] MAJOR UNSTABLE UPDATE!!!
Initial commit after moving to Tango instead of Phobos.
Lots of bugfixes...
This build is not suitable for most things.
author | lindquist |
---|---|
date | Fri, 11 Jan 2008 17:57:40 +0100 |
parents | |
children |
rev | line source |
---|---|
132 | 1 /** |
2 * D header file for C99. | |
3 * | |
4 * Copyright: Public Domain | |
5 * License: Public Domain | |
6 * Authors: Sean Kelly | |
7 * Standards: ISO/IEC 9899:1999 (E) | |
8 */ | |
9 module tango.stdc.config; | |
10 | |
11 extern (C): | |
12 | |
13 version( Windows ) | |
14 { | |
15 alias int c_long; | |
16 alias uint c_ulong; | |
17 } | |
18 else | |
19 { | |
20 static if( (void*).sizeof > int.sizeof ) | |
21 { | |
22 alias long c_long; | |
23 alias ulong c_ulong; | |
24 } | |
25 else | |
26 { | |
27 alias int c_long; | |
28 alias uint c_ulong; | |
29 } | |
30 } |