Commit Graph

19 Commits

Author SHA1 Message Date
Liu Hao
20d87c9325 include/stralign: Canonicalize macros for x86-64
We check for `__x86_64__` instead of `__amd64__` in other places.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-04-08 21:52:34 +08:00
Martin Storsjö
1bd66b53be headers: Add casts in ua_wcs*chr in stralign.h
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>
2017-08-25 23:18:14 +03:00
Kai Tietz
a48f2db3b0 Remove redefition warning
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5990 4407c894-4637-0410-b4f5-ada5f102cad1
2013-08-05 03:29:03 +00:00
Kai Tietz
b1ea79bd6c Add some ARM specific code paths, cleanup a bit stralign.h, and add missing language & sublanguage defines
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5630 4407c894-4637-0410-b4f5-ada5f102cad1
2013-03-10 12:47:49 +00:00
Corinna Vinschen
cf86d3b07e * stralign.h (ua_wcscpy): Define as macro when building on Cygwin.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5183 4407c894-4637-0410-b4f5-ada5f102cad1
2012-07-06 14:09:20 +00:00
Rafaël Carré
8a67ab4541 Replace 'w64 mingw-runtime' by 'mingw-w64 runtime'
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
2012-06-28 15:40:59 +00:00
Corinna Vinschen
11e6c9b2fa * include/stralign.h: Fix and add #endif comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5136 4407c894-4637-0410-b4f5-ada5f102cad1
2012-06-27 15:40:07 +00:00
Kai Tietz
7cd13990c4 Add __MINGW_NAME_AW_EXT, and __MINGW_NAME_UAW_EXT to _mingw_mac.h
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
2010-06-17 13:17:22 +00:00
Ozkan Sezer
ffd2f3157d 2010-06-12 Ozkan Sezer <sezeroz@gmail.com>
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
2010-06-12 14:01:27 +00:00
Kai Tietz
f29f1a39b2 2010-01-15 Kai Tietz <kai.tietz@onevision.com>
Ozkan Sezer  <sezeroz@gmail.com>

	* include/: Change DISCLAIMER to DISCLAIMER.PD.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1749 4407c894-4637-0410-b4f5-ada5f102cad1
2010-01-15 21:15:53 +00:00
Kai Tietz
931263388f 2009-08-23 Kai Tietz <kai.tietz@onevision.com>
* 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
2009-08-23 16:52:19 +00:00
Kai Tietz
f5d284620d Fix missing prototypes before inlined function implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1213 4407c894-4637-0410-b4f5-ada5f102cad1
2009-08-23 07:44:46 +00:00
Kai Tietz
a779ca78a4 Guard _CRT_INLINE by __CRT__NO_INLINE
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1054 4407c894-4637-0410-b4f5-ada5f102cad1
2009-07-27 08:22:07 +00:00
Kai Tietz
45ef412a59 Replace static __inline by __CRT_INLINE to avoid link problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@671 4407c894-4637-0410-b4f5-ada5f102cad1
2009-03-11 14:19:49 +00:00
Kai Tietz
3b845e808b 2008-09-19 Kai Tietz <kai.tietz@onevision.com>
* shellapi.h: Replace _cdecl by __cdecl.
	* netmon.h: Likewise.
	* nmsupp.h: Likewise.
	PR/2118228 by Jeremy Kolb
	* winreg.h: Likewise.
	* stralign.h: Likewise.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@475 4407c894-4637-0410-b4f5-ada5f102cad1
2008-09-19 08:24:34 +00:00
NightStrike
48502b7fea Remove execute permissions from headers
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@207 4407c894-4637-0410-b4f5-ada5f102cad1
2007-11-22 00:07:54 +00:00
Kai Tietz
11fd1bbdbd Avoid declaration of TI mode in 32-bit version.
Some corrections for 32-bit gcc version.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@162 4407c894-4637-0410-b4f5-ada5f102cad1
2007-10-30 11:51:49 +00:00
Kai Tietz
4f527d3d05 Extract secure api from stralign.h into sec_api/stralign_s.h
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@145 4407c894-4637-0410-b4f5-ada5f102cad1
2007-10-18 13:35:41 +00:00
Kai Tietz
9d937a7f4f Add mingw-w64 header set as initial set.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3 4407c894-4637-0410-b4f5-ada5f102cad1
2007-08-10 10:41:48 +00:00