From d1d2a9b7556d809f554c0481c6b331b74ea213ce Mon Sep 17 00:00:00 2001 From: asmodai Date: Tue, 9 May 2017 02:39:40 +0300 Subject: [PATCH] Fix compilation --- metamod/src/jitasm.h | 2 +- metamod/src/mutil.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/metamod/src/jitasm.h b/metamod/src/jitasm.h index d20f4ab..6562d91 100644 --- a/metamod/src/jitasm.h +++ b/metamod/src/jitasm.h @@ -117,7 +117,7 @@ #define JITASM_TRACE jitasm::detail::Trace #endif #elif defined(JITASM_GCC) - #define JITASM_TRACE(...) (()0) + #define JITASM_TRACE(...) ((void)0) #else #define JITASM_TRACE __noop #endif diff --git a/metamod/src/mutil.h b/metamod/src/mutil.h index b840519..e886ed6 100644 --- a/metamod/src/mutil.h +++ b/metamod/src/mutil.h @@ -1,5 +1,9 @@ #pragma once +#include +#include +#include + // max buffer size for printed messages #define MAX_LOGMSG_LEN 1024