From 572042c304ef290dce637b26679bf1e4ce454029 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Wed, 1 Apr 2015 01:03:28 +0300 Subject: [PATCH] Use correct macro for GNU CC --- pdns/ext/luawrapper/include/LuaContext.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ext/luawrapper/include/LuaContext.hpp b/pdns/ext/luawrapper/include/LuaContext.hpp index 740f7d0ca..c977058fb 100644 --- a/pdns/ext/luawrapper/include/LuaContext.hpp +++ b/pdns/ext/luawrapper/include/LuaContext.hpp @@ -58,7 +58,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # include "misc/exception.hpp" #endif -#ifdef _GNUC +#ifdef __GNUC__ # define ATTR_UNUSED __attribute__((unused)) #else # define ATTR_UNUSED -- 2.49.0