summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/uisw32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
index 9a95294819..67526d9dd6 100644
--- a/uisimulator/win32/uisw32.h
+++ b/uisimulator/win32/uisw32.h
@@ -20,8 +20,10 @@
#ifndef __UISW32_H__
#define __UISW32_H__
+#ifdef _MSC_VER
typedef unsigned short wchar_t;
#define _WCHAR_T_DEFINED
+#endif
#include <windows.h>
#include "lcd-win32.h"