summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/key.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include/guichan/key.hpp')
-rw-r--r--src/guichan/include/guichan/key.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guichan/include/guichan/key.hpp b/src/guichan/include/guichan/key.hpp
index 9b31d7c6b..c2af0ac60 100644
--- a/src/guichan/include/guichan/key.hpp
+++ b/src/guichan/include/guichan/key.hpp
@@ -47,6 +47,8 @@
#include "guichan/platform.hpp"
+#include "localconsts.h"
+
// windows.h defines DELETE which breaks this file as we have a constant named
// DELETE, hence we undefine DELETE if it is defined and hope people don't use
// that windows define with Guichan.
@@ -59,7 +61,7 @@ namespace gcn
/**
* Represents a key or a character.
*/
- class GCN_CORE_DECLSPEC Key
+ class GCN_CORE_DECLSPEC Key final
{
public: