Mercurial > projects > ldc
annotate lphobos/std/c/stddef.d @ 583:12bda38ea366
Fixed choosing default target machine without needing to link in targets.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 07 Sep 2008 17:44:25 -0700 |
parents | c53b6e3fe49a |
children |
rev | line source |
---|---|
1 | 1 |
2 /** | |
3 * C's <stddef.h> | |
4 * Authors: Walter Bright, Digital Mars, www.digitalmars.com | |
5 * License: Public Domain | |
6 * Macros: | |
7 * WIKI=Phobos/StdCStddef | |
8 */ | |
9 | |
10 module std.c.stddef; | |
11 | |
12 version (Win32) | |
13 { | |
14 alias wchar wchar_t; | |
15 } | |
16 else version (linux) | |
17 { | |
18 alias dchar wchar_t; | |
19 } | |
20 else | |
21 { | |
22 static assert(0); | |
23 } |