-fixed emscripten compilation
This commit is contained in:
parent
3c1c67efd0
commit
84ba5f9eb5
6 changed files with 36 additions and 71 deletions
|
|
@ -77,7 +77,11 @@ version(GNU)
|
|||
else
|
||||
{
|
||||
extern(C) int printf(scope const char* format, ...) @nogc nothrow @system;
|
||||
public import std.array : staticArray;
|
||||
// public import std.array : staticArray;
|
||||
pragma(inline, true) T[n] staticArray(T, size_t n)(auto ref T[n] a)
|
||||
{
|
||||
return a;
|
||||
}
|
||||
}
|
||||
extern(C) int rand() nothrow @nogc @trusted;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue