mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
[unicode] remove obsolete bigendian defines
This commit is contained in:
@@ -347,7 +347,7 @@ static void* clipboard_synthesize_html_format(wClipboard* clipboard, UINT32 form
|
||||
|
||||
/* Check the BOM (Byte Order Mark) */
|
||||
if ((pSrcData.cpb[0] == 0xFE) && (pSrcData.cpb[1] == 0xFF))
|
||||
ByteSwapUnicode(pSrcData.pv, (int)(SrcSize / 2));
|
||||
ByteSwapUnicode(pSrcData.pv, (SrcSize / 2));
|
||||
|
||||
/* Check if we have WCHAR, convert to UTF-8 */
|
||||
if ((pSrcData.cpb[0] == 0xFF) && (pSrcData.cpb[1] == 0xFE))
|
||||
|
||||
@@ -91,16 +91,6 @@ int TestString(int argc, char* argv[])
|
||||
if (!test_url_escape())
|
||||
return -1;
|
||||
|
||||
#ifdef __BIG_ENDIAN__
|
||||
/* Be sure that we always use LE encoded string */
|
||||
ByteSwapUnicode(testStringW, testStringW_Length);
|
||||
ByteSwapUnicode(testToken1W, testToken1W_Length);
|
||||
ByteSwapUnicode(testToken2W, testToken2W_Length);
|
||||
ByteSwapUnicode(testToken3W, testToken3W_Length);
|
||||
ByteSwapUnicode(testTokensW, testTokensW_Length);
|
||||
ByteSwapUnicode(testDelimiter, testDelimiter_Length);
|
||||
#endif
|
||||
|
||||
/* _wcslen */
|
||||
|
||||
length = _wcslen(testStringW);
|
||||
|
||||
Reference in New Issue
Block a user