summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/dropdown.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/dropdown.hpp')
-rw-r--r--src/guichan/widgets/dropdown.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guichan/widgets/dropdown.hpp b/src/guichan/widgets/dropdown.hpp
index 090fff0ce..4a0993b1a 100644
--- a/src/guichan/widgets/dropdown.hpp
+++ b/src/guichan/widgets/dropdown.hpp
@@ -57,6 +57,12 @@
#include "guichan/widgets/listbox.hpp"
#include "guichan/widgets/scrollarea.hpp"
+#ifdef __GNUC__
+#define _UNUSED_ __attribute__ ((unused))
+#else
+#define _UNUSED_
+#endif
+
namespace gcn {
/**
* An implementation of a drop downable list from which an item can be