summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/button.hpp
diff options
context:
space:
mode:
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
{
/**