mingw-w64/mingw-w64-crt/crt
Pali Rohár 5e09537075 crt: Guard local _commode variable in crtexe.c
Currently mingw-w64 does not define or provide _commode in header files,
so this guard does not change current behavior.

But in case that in future some mingw-w64 header file starts providing
global _commode macro (as expansion to __p__commode() funcion call), add
guard for local _commode variable which undefines _commode. Same what is
done for _fmode. This ensures that _commode in crtexe.c would always refers
to local _commode variable.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-07-24 13:30:17 +03:00
..
__C_specific_handler.c crt: Add a UCRT import library suitable for UWP use 2020-06-10 09:18:02 +03:00
_newmode.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
binmode.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
charmax.c crt: Add double underscore prefix to internal symbols used for linking in init routines 2021-06-14 10:29:30 +03:00
cinitexe.c 2012-04-19 Kai Tietz <ktietz@redhat.com> 2012-04-19 16:31:07 +00:00
CRT_fp8.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
CRT_fp10.c fenv: Add arm64 specific codepaths in fenv functions, add arm64 fenv.h header section 2017-08-22 10:01:59 +03:00
CRT_glob.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
crt_handler.c crt: Remove unused __ImageBase from crt_handler.c 2022-11-19 16:59:00 +08:00
CRT_noglob.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
crtbegin.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
crtdll_getmainargs.c crt: crtdll.dll: Rename crtdll_compat.c to crtdll_getmainargs.c 2024-06-03 14:19:18 +03:00
crtdll_ismbblead.c crt: crtdll.dll and msvcrt10.dll: Fix linking of the WinMain() function 2024-06-03 14:19:19 +03:00
crtdll.c crt: Add link to CRT startup GNU LD bug 2024-03-02 22:57:10 +02:00
crtend.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
crtexe.c crt: Guard local _commode variable in crtexe.c 2024-07-24 13:30:17 +03:00
crtexewin.c crt: Use only __ImageBase symbol in mingw-w64 code 2023-05-02 15:11:33 +03:00
cxa_atexit.c crt: Split out the __cxa_atexit and __cxa_thread_atexit entry points to separate files 2019-12-11 15:55:48 +02:00
cxa_thread_atexit.c crt: Split out the __cxa_atexit and __cxa_thread_atexit entry points to separate files 2019-12-11 15:55:48 +02:00
dll_argv.c crt: Remove WPRFLAG macro 2022-11-18 22:13:42 +08:00
dllargv.c crt: Remove WPRFLAG macro 2022-11-18 22:13:42 +08:00
dllentry.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
dllmain.c * crt/crt0_c.c (main): Use __UNUSED_PARAM instead of 2010-07-19 09:36:16 +00:00
gccmain.c crt: Remove support for providing __CTOR_LIST__ for LLD 7 and older 2021-01-20 23:17:37 +02:00
merr.c crt: Move __mingw_setusermatherr and __mingw_raise_matherr into a separated object file. 2019-04-05 13:24:40 +02:00
mingw_custom.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
mingw_helpers.c crt: Add double underscore prefix to the mingw_app_type symbol 2021-06-14 10:37:17 +03:00
msvcrt10_ismbblead.c crt: crtdll.dll and msvcrt10.dll: Fix linking of the WinMain() function 2024-06-03 14:19:19 +03:00
msvcrt20_getmainargs.c crt: msvcrt20: Fix calling __getmainargs() and __wgetmainargs() functions 2024-06-03 14:19:19 +03:00
msvcrt20_wgetmainargs.c crt: msvcrt20: Fix calling __getmainargs() and __wgetmainargs() functions 2024-06-03 14:19:19 +03:00
natstart.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
pesect.c crt: Use only __ImageBase symbol in mingw-w64 code 2023-05-02 15:11:33 +03:00
pseudo-reloc-list.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
pseudo-reloc.c crt: Use only __ImageBase symbol in mingw-w64 code 2023-05-02 15:11:33 +03:00
tls_atexit.c crt: Handle TLS destructors that are registered while executing destructors 2023-04-06 13:55:38 +03:00
tlsmcrt.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
tlsmthread.c crt/tlsmthread.c: Removed leftovers of Win9X/Me mingwm10.dll support 2012-07-10 07:03:15 +00:00
tlssup.c crt: Mark _tls_used as used for LTO 2023-10-31 22:48:43 +02:00
tlsthrd.c Move _fpreset call so it is called for each thread rather than only at startup 2016-03-16 19:52:03 +08:00
txtmode.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
ucrtbase_compat.c crt: Add noreturn attribute with _amsg_exit 2023-07-16 04:11:05 +08:00
ucrtexe.c crt: Remove WPRFLAG macro 2022-11-18 22:13:42 +08:00
ucrtexewin.c crt: Remove WPRFLAG macro 2022-11-18 22:13:42 +08:00
udll_argv.c crt: Remove WPRFLAG macro 2022-11-18 22:13:42 +08:00
udllargc.c crt: Remove WPRFLAG macro 2022-11-18 22:13:42 +08:00
usermatherr.c crt: Move __mingw_setusermatherr and __mingw_raise_matherr into a separated object file. 2019-04-05 13:24:40 +02:00
wildcard.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
xncommod.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
xthdloc.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00
xtxtmode.c Replace 'w64 mingw-runtime' by 'mingw-w64 runtime' 2012-06-28 15:40:59 +00:00