Skip to content

Commit 83d8770

Browse files
author
Requiem
committed
chore: made void macros not potentially clash with other user-defined custom macros
1 parent 05e39c8 commit 83d8770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vmaware.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ struct VM {
16111611

16121612
[[nodiscard]] static std::unique_ptr<std::string> sys_result(const char* cmd) {
16131613
#if (VMA_CPP < 14)
1614-
UNUSED(cmd);
1614+
VMAWARE_UNUSED(cmd);
16151615
return util::make_unique<std::string>();
16161616
#else
16171617
#if (LINUX || APPLE)
@@ -4415,7 +4415,7 @@ struct VM {
44154415
}
44164416
}();
44174417
#else
4418-
UNUSED(aux);
4418+
VMAWARE_UNUSED(aux);
44194419
int regs[4] = { 0 };
44204420
cpu::cpuid(regs, 0x80000001);
44214421
const bool haveRdtscp = (regs[3] & (1u << 27)) != 0;

0 commit comments

Comments
 (0)