remove of UNICODE/_UNICODE
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -192,13 +192,8 @@ typedef WCHAR* LPUWSTR, * PUWSTR;
|
||||
typedef const WCHAR* LPCWSTR, * PCWSTR;
|
||||
typedef const WCHAR* LPCUWSTR, * PCUWSTR;
|
||||
|
||||
#ifdef UNICODE
|
||||
typedef LPCWSTR LPCTSTR;
|
||||
typedef LPWSTR LPTSTR;
|
||||
#else
|
||||
typedef LPCSTR LPCTSTR;
|
||||
typedef LPSTR LPTSTR;
|
||||
#endif
|
||||
|
||||
typedef DWORD COLORREF;
|
||||
#define RGB(r,g,b) ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(b))<<16)))
|
||||
|
||||
@@ -156,13 +156,8 @@ typedef WCHAR* LPUWSTR, * PUWSTR;
|
||||
typedef const WCHAR* LPCWSTR, * PCWSTR;
|
||||
typedef const WCHAR* LPCUWSTR, * PCUWSTR;
|
||||
|
||||
#ifdef UNICODE
|
||||
typedef LPCWSTR LPCTSTR;
|
||||
typedef LPWSTR LPTSTR;
|
||||
#else
|
||||
typedef LPCSTR LPCTSTR;
|
||||
typedef LPSTR LPTSTR;
|
||||
#endif
|
||||
typedef char TCHAR;
|
||||
|
||||
typedef DWORD COLORREF;
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
|
||||
// In Win32 Release we use static linkage
|
||||
#ifdef WIN32
|
||||
#if !defined(_RELEASE) || defined(RESOURCE_COMPILER) || defined(EDITOR) || defined(_FORCEDLL)
|
||||
#if !defined(_RELEASE) || defined(EDITOR) || defined(_FORCEDLL)
|
||||
// All windows targets not in Release built as DLLs.
|
||||
#ifndef _USRDLL
|
||||
#define _USRDLL
|
||||
|
||||
Reference in New Issue
Block a user