summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/button.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-30 22:03:32 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-30 22:03:32 +0300
commit1d0044cbc81e547ad688a295288910d58e1a3fb1 (patch)
tree0a4575b8ff5f76b571891ea0f30df02fe61f4f29 /src/guichan/widgets/button.hpp
parentb82ee801506790283d2f03060949bb5089086de8 (diff)
downloadplus-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.gz
plus-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.bz2
plus-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.xz
plus-1d0044cbc81e547ad688a295288910d58e1a3fb1.zip
Fix compilation warnings after guichan integration.
Remove temp file.
Diffstat (limited to 'src/guichan/widgets/button.hpp')
-rw-r--r--src/guichan/widgets/button.hpp6
1 files changed, 6 insertions, 0 deletions
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
{
/**