fix linux build broken due to bad version() statement

This commit is contained in:
Basile Burg 2020-05-28 16:30:43 +02:00
parent 730c2a4e6e
commit a1ae6e666a
1 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
module common;
import
core.stdc.string;
core.stdc.string, core.runtime: rt_init, rt_term;
import
std.array, std.traits, std.meta, std.conv, std.algorithm, std.file, std.path;
import
@ -9,12 +9,8 @@ import
import
iz.memory;
version(Windows)
{
import core.runtime: rt_init, rt_term;
export extern(C) int d_rt_init(){ return rt_init(); }
export extern(C) int d_rt_term(){ return rt_term(); }
}
export extern(C) int d_rt_init(){ return rt_init(); }
export extern(C) int d_rt_term(){ return rt_term(); }
export extern(C) void setRtOptions()
{