Skip to content
Snippets Groups Projects
Commit a89674f3 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard
Browse files

ifdef guard TCHAR declaration like PSDK does.

parent 1ad8180e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment