From 57e788422fe5fac7d40ca46c38a07c677749f728 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 14 Apr 2018 21:58:06 +0200 Subject: [PATCH] Add an UNUSED macro to precompiled_header.hpp --- src/precompiled_header.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/precompiled_header.hpp b/src/precompiled_header.hpp index 89f032be6..6aa6ae57b 100644 --- a/src/precompiled_header.hpp +++ b/src/precompiled_header.hpp @@ -152,4 +152,9 @@ #include #include #include + +#ifndef UNUSED +#define UNUSED(x) (void)(x) +#endif + #endif