From 07be4cd984f8af68566df642227ae557961fdb74 Mon Sep 17 00:00:00 2001 From: Witold Baryluk Date: Sat, 23 Apr 2022 17:08:25 +0000 Subject: [PATCH] Update package.d `gdc` doesn't have `D_InlineAsm_X86_64` as it uses different asm syntax than `dmd`. One can use `version(GNU) version(X86_64)`, but this is unnecessary. as imported modules do not use any assembler, just enum definitions for each system. Fixes https://github.com/huntlabs/hunt/issues/94 --- source/hunt/system/syscall/package.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/hunt/system/syscall/package.d b/source/hunt/system/syscall/package.d index dc95d6ff..9af368e0 100755 --- a/source/hunt/system/syscall/package.d +++ b/source/hunt/system/syscall/package.d @@ -16,7 +16,7 @@ version(Posix): extern (C) nothrow @nogc size_t syscall(size_t ident, ...); -version(D_InlineAsm_X86_64) +version(X86_64) { version(linux) public import hunt.system.syscall.os.Linux; else version(OSX) public import hunt.system.syscall.os.OSX;