Fixed compilation of wmc.

svn path=/trunk/; revision=2488
This commit is contained in:
Casper Hornstrup 2002-01-04 23:40:13 +00:00
parent cc47e7056e
commit 598cb0cb4c

View file

@ -1,3 +1,31 @@
#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;
#define STDCALL __attribute__((stdcall))
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);