When building libcxx, a version of wcschr that returns const
is provided, breaking compilation here since the return from
wcschr is returned directly as if it were a const pointer.
By adding these casts, compilation succeeds.
This matches the calls to uaw_wcschr and uaw_wcsrchr directly
below, having similar casts.
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Mateusz Mikuła <mati865@gmail.com>
Also replace 'This file is a part of' by 'This file is part of' for consistency
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5147 4407c894-4637-0410-b4f5-ada5f102cad1
Replace some more UNICODE guarded blocks by internal __MINGW_..._AW macros.
(Note be careful with extensions like _T, as they can get expanded).
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2566 4407c894-4637-0410-b4f5-ada5f102cad1
Kill definitions of I_X86_ macro and adjust places it was used:
* windows.h: Remove I_X86_ definition. Adjust and tweak _AMD64_
and _IA64_ macro definitions to use _X86_ and/or __i386__.
* winnt.h: Likewise as in windows.h. Replace checks against I_X86_
by checks against _X86_. Replace checks against _X86_ which were
already under I_X86_ ifdefs by checks against __i386__.
* mapidbg.h: Replace checks against I_X86_ by checks against _X86_.
* mapiutil.h: Likewise.
* mapival.h: Likewise.
* netmon.h: Likewise.
* stralign.h: Likewise.
* tapi3if.h: Likewise.
* uastrfnc.h: Likewise.
* vdmdbg.h: Likewise.
* wabutil.h: Likewise.
* winbase.h: Likewise.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2497 4407c894-4637-0410-b4f5-ada5f102cad1
* intrin.h: Use intrin86.h from gcc.
* winbase.h, winnt.h: Adjust intrinsic to be prototypes and compatible with
gnu's intrin86.h definitions.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1224 4407c894-4637-0410-b4f5-ada5f102cad1