aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/smelt.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/smelt.hpp b/include/smelt.hpp
index 5c9b013..be66195 100644
--- a/include/smelt.hpp
+++ b/include/smelt.hpp
@@ -29,13 +29,18 @@
#ifndef SMELT_H
#define SMELT_H
+#ifdef _WIN32
+#include <windows.h>
+#endif
#include <stddef.h>
#include <stdint.h>
#define SMELT_APILEVEL 3
//Primitive data types
+#ifndef WIN32 //windows.h has this inside
typedef uint32_t DWORD;
+#endif
typedef uint16_t WORD;
typedef uint8_t BYTE;