Skip to content

Commit

Permalink
Fix Linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Jun 13, 2023
1 parent 436e805 commit 690bb79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/cmake-d
4 changes: 3 additions & 1 deletion lib/provision/compat/linux.d
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import core.sys.posix.sys.stat;
import core.sys.posix.sys.time;
import core.sys.posix.unistd;

import provision.compat.general;

template traceCall(alias U) {
import std.traits;
import slf4d;
auto ref traceCall(Parameters!U params) {
extern(C) auto ref traceCall(Parameters!U params) @sysv {
getLogger().traceF!"CALL // %s"(__traits(identifier, U));
return U(params);
}
Expand Down

0 comments on commit 690bb79

Please sign in to comment.