aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-22 23:51:06 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-22 23:51:06 +0800
commit2c5a0391c3299ccbb866a0dd33204dbeccfa2b95 (patch)
treebef068c68a50bad4735b23d524ab6e63b9d315e6 /include
parent1c27cc906eb36d3182feb46981f60333bac1448b (diff)
downloadSMELT-2c5a0391c3299ccbb866a0dd33204dbeccfa2b95.tar.xz
Initial stubs for the Windows version.
The port is still incomplete and will be incomplete for a long time.
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;