]> granicus.if.org Git - pdns/commitdiff
Use correct macro for GNU CC
authorAki Tuomi <cmouse@desteem.org>
Tue, 31 Mar 2015 22:03:28 +0000 (01:03 +0300)
committerAki Tuomi <cmouse@desteem.org>
Tue, 31 Mar 2015 22:03:28 +0000 (01:03 +0300)
pdns/ext/luawrapper/include/LuaContext.hpp

index 740f7d0ca96fcbe069f9a1786bef33547d5e6365..c977058fbce5be2d3d8c8a9778b2c3452b199d4a 100644 (file)
@@ -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