From ee6308d9a0e88b44d21aab6aac743c20354e4475 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wolfgang=20St=C3=B6ggl?= Date: Mon, 3 Jun 2019 11:04:41 +0200 Subject: [PATCH] Fix failed to expand Py_UNUSED (rrdtoolmodule.c) - Fix: failed to expand 'Py_UNUSED', Invalid ## usage when expanding 'Py_UNUSED'. - Fixes: https://github.com/oetiker/rrdtool-1.x/issues/903 --- bindings/python/rrdtoolmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c index 3bc795a0..9344c862 100644 --- a/bindings/python/rrdtoolmodule.c +++ b/bindings/python/rrdtoolmodule.c @@ -53,7 +53,7 @@ #ifdef __GNUC__ #define Py_UNUSED(name) _unused_ ## name __attribute__((unused)) #else - #define Py_UNUSED(name) _unused_ ## -name + #define Py_UNUSED(name) _unused_ ## name #endif #endif -- 2.47.2