From 1d0044cbc81e547ad688a295288910d58e1a3fb1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 May 2011 22:03:32 +0300 Subject: Fix compilation warnings after guichan integration. Remove temp file. --- src/guichan/widgets/button.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/guichan/widgets/button.hpp') diff --git a/src/guichan/widgets/button.hpp b/src/guichan/widgets/button.hpp index cfe097327..05b961b1e 100644 --- a/src/guichan/widgets/button.hpp +++ b/src/guichan/widgets/button.hpp @@ -54,6 +54,12 @@ #include "guichan/platform.hpp" #include "guichan/widget.hpp" +#ifdef __GNUC__ +#define _UNUSED_ __attribute__ ((unused)) +#else +#define _UNUSED_ +#endif + namespace gcn { /** -- cgit v1.2.3-70-g09d2