Readd windows.h as it is needed for cross-compilation.

svn path=/trunk/; revision=4990
This commit is contained in:
Casper Hornstrup
2003-06-29 12:30:20 +00:00
parent f5c3d860c3
commit 397aee4126
+35
View File
@@ -0,0 +1,35 @@
#include <wchar.h>
typedef wchar_t WCHAR;
typedef unsigned short int WORD;
typedef unsigned int UINT;
typedef unsigned int DWORD;
typedef char CHAR;
typedef CHAR *LPSTR;
typedef WCHAR *LPWSTR;
typedef const CHAR *LPCSTR;
typedef const WCHAR *LPCWSTR;
typedef unsigned int *LPBOOL;
#ifndef __unix__
#define STDCALL __attribute__((stdcall))
#else
#define STDCALL
#endif
int STDCALL MultiByteToWideChar(
UINT CodePage,
DWORD dwFlags,
LPCSTR lpMultiByteStr,
int cbMultiByte,
LPWSTR lpWideCharStr,
int cchWideChar);
int STDCALL WideCharToMultiByte(
UINT CodePage,
DWORD dwFlags,
LPCWSTR lpWideCharStr,
int cchWideChar,
LPSTR lpMultiByteStr,
int cbMultiByte,
LPCSTR lpDefaultChar,
LPBOOL lpUsedDefaultChar);