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