Commit a89674f3 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

ifdef guard TCHAR declaration like PSDK does.

parent 1ad8180e
......@@ -347,12 +347,18 @@ typedef const WCHAR *PCWSTR, *LPCWSTR;
*/
#ifndef __WINESRC__
# ifdef UNICODE
# ifndef _TCHAR_DEFINED
typedef WCHAR TCHAR, *PTCHAR;
# define _TCHAR_DEFINED
#endif
typedef LPWSTR PTSTR, LPTSTR;
typedef LPCWSTR PCTSTR, LPCTSTR;
# define __TEXT(string) L##string
# else /* UNICODE */
# ifndef _TCHAR_DEFINED
typedef CHAR TCHAR, *PTCHAR;
# define _TCHAR_DEFINED
# endif
typedef LPSTR PTSTR, LPTSTR;
typedef LPCSTR PCTSTR, LPCTSTR;
# define __TEXT(string) string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment