Mercurial > projects > ldc
annotate tango/tango/stdc/config.d @ 341:1bb99290e03a trunk
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author | lindquist |
---|---|
date | Sun, 13 Jul 2008 02:51:19 +0200 |
parents | 1700239cab2e |
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 } |