summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/window.hpp')
-rw-r--r--src/guichan/widgets/window.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guichan/widgets/window.hpp b/src/guichan/widgets/window.hpp
index 373efd164..63685c7fb 100644
--- a/src/guichan/widgets/window.hpp
+++ b/src/guichan/widgets/window.hpp
@@ -50,6 +50,12 @@
#include "guichan/platform.hpp"
#include "guichan/widgets/container.hpp"
+#ifdef __GNUC__
+#define _UNUSED_ __attribute__ ((unused))
+#else
+#define _UNUSED_
+#endif
+
namespace gcn
{
/**