Mercurial > projects > ldc
comparison druntime/import/stdc/config.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 C99. | |
3 * | |
4 * Copyright: Public Domain | |
5 * License: Public Domain | |
6 * Authors: Sean Kelly | |
7 * Standards: ISO/IEC 9899:1999 (E) | |
8 */ | |
9 module 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 } |