summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/tab.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/tab.hpp')
-rw-r--r--src/guichan/widgets/tab.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guichan/widgets/tab.hpp b/src/guichan/widgets/tab.hpp
index bf89afccb..d123bac15 100644
--- a/src/guichan/widgets/tab.hpp
+++ b/src/guichan/widgets/tab.hpp
@@ -51,6 +51,12 @@
#include "guichan/mouselistener.hpp"
#include "guichan/platform.hpp"
+#ifdef __GNUC__
+#define _UNUSED_ __attribute__ ((unused))
+#else
+#define _UNUSED_
+#endif
+
namespace gcn
{
class Label;