aboutsummaryrefslogtreecommitdiffstats
path: root/yage/data/input.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-04-02 20:05:38 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-04-02 20:05:38 +0100
commit12c252fdeb0bc8af4200b8e01d8e2b9fc11e8ded (patch)
tree98eb7a8edd0ffa66884207431b3b0d3c755ab1a4 /yage/data/input.h
parentc9185202fe841984f984326dfc1ab5ef5d00d6f9 (diff)
parent39506c62cb89d42e876c49e7e353140cd6be61b7 (diff)
downloadYAGE-12c252fdeb0bc8af4200b8e01d8e2b9fc11e8ded.tar.gz
YAGE-12c252fdeb0bc8af4200b8e01d8e2b9fc11e8ded.zip
Merge branch 'master' of github.com:ymherklotz/YAGE
Diffstat (limited to 'yage/data/input.h')
-rw-r--r--yage/data/input.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/yage/data/input.h b/yage/data/input.h
index 866793d8..22cadb62 100644
--- a/yage/data/input.h
+++ b/yage/data/input.h
@@ -9,6 +9,13 @@
#ifndef YAGE_CORE_INPUT_H
#define YAGE_CORE_INPUT_H
+#ifdef _WIN32
+#ifdef DELETE
+#define YAGE_DELETE_TMP DELETE
+#undef DELETE
+#endif
+#endif
+
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
@@ -148,4 +155,11 @@ enum class key {
} // namepsace yage
+#ifdef _WIN32
+#ifdef YAGE_DELETE_TMP
+#define DELETE YAGE_DELETE_TMP
+#undef YAGE_DELETE_TMP
+#endif
+#endif
+
#endif