From a1ae6e666a83dfe21a4a7dd1928760c8d397117f Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 28 May 2020 16:30:43 +0200 Subject: [PATCH] fix linux build broken due to bad version() statement --- dexed-d/src/common.d | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dexed-d/src/common.d b/dexed-d/src/common.d index cf128568..e685634f 100644 --- a/dexed-d/src/common.d +++ b/dexed-d/src/common.d @@ -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() {