summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2003-02-14 23:12:55 +0000
committerFelix Arends <edx@rockbox.org>2003-02-14 23:12:55 +0000
commit2362fa918e07fad12a7b8c093c646f11244a0f0d (patch)
tree782b77987e308e5a06a8cc5559a4a18f3f75fa47 /uisimulator
parente3403ecd9f218766ce64eed0ff6b6cd706391fa4 (diff)
remove warnings from mingw build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3265 a1c6a512-1295-4272-9138-f99709370657
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"