view lphobos/std/c/stddef.d @ 1163:ea52660f828b

Emit function bodies before generating the module info to make sure static ctors are collected correctly. Fixes run/constructor_03.
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Mar 2009 20:45:33 +0100
parents c53b6e3fe49a
children
line wrap: on
line source


/**
 * C's &lt;stddef.h&gt;
 * Authors: Walter Bright, Digital Mars, www.digitalmars.com
 * License: Public Domain
 * Macros:
 *	WIKI=Phobos/StdCStddef
 */

module std.c.stddef;

version (Win32)
{
    alias wchar wchar_t;
}
else version (linux)
{
    alias dchar wchar_t;
}
else
{
    static assert(0);
}