1
|
1 /**
|
|
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
|
|
3 * Authors: Jacob Carlborg
|
|
4 * Version: Initial created: Feb 1, 2009
|
|
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
|
|
6 */
|
|
7 module dstep.internal.Types;
|
|
8
|
|
9 import dstep.internal.Version;
|
|
10
|
|
11 version (Windows)
|
|
12 {
|
|
13 alias int c_long;
|
|
14 alias uint c_ulong;
|
|
15 }
|
|
16
|
|
17 else
|
|
18 {
|
|
19 static if (D_LP64)
|
|
20 {
|
|
21 alias long c_long;
|
|
22 alias ulong c_ulong;
|
|
23 }
|
|
24
|
|
25 else
|
|
26 {
|
|
27 alias int c_long;
|
|
28 alias uint c_ulong;
|
|
29 }
|
|
30 } |