summaryrefslogtreecommitdiff
path: root/src/guichan/defaultfont.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/defaultfont.hpp')
-rw-r--r--src/guichan/defaultfont.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guichan/defaultfont.hpp b/src/guichan/defaultfont.hpp
index 430911ca3..9343e96d3 100644
--- a/src/guichan/defaultfont.hpp
+++ b/src/guichan/defaultfont.hpp
@@ -47,6 +47,12 @@
#include "guichan/font.hpp"
#include "guichan/platform.hpp"
+#ifdef __GNUC__
+#define _UNUSED_ __attribute__ ((unused))
+#else
+#define _UNUSED_
+#endif
+
namespace gcn
{
/**