Skip to content

Commit

Permalink
Update package.d
Browse files Browse the repository at this point in the history
`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 #94
  • Loading branch information
baryluk authored Apr 23, 2022
1 parent 89e9331 commit 07be4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/hunt/system/syscall/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 07be4cd

Please sign in to comment.