summaryrefslogtreecommitdiffstats
path: root/heimdall/source/Heimdall.h
diff options
context:
space:
mode:
Diffstat (limited to 'heimdall/source/Heimdall.h')
-rw-r--r--heimdall/source/Heimdall.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/heimdall/source/Heimdall.h b/heimdall/source/Heimdall.h
index 88969c2..bea1d73 100644
--- a/heimdall/source/Heimdall.h
+++ b/heimdall/source/Heimdall.h
@@ -22,8 +22,10 @@
#define HEIMDALL_H
#ifdef OS_WINDOWS
+
#include <Windows.h>
#undef GetBinaryType
+
#else
#include "../config.h"
@@ -37,4 +39,12 @@
#endif
+#if (!(defined _MSC_VER) || (_MSC_VER < 1700))
+
+#ifndef nullptr
+#define nullptr 0
+#endif
+
+#endif
+
#endif