* [PATCH] libgcc: Include stdlib.h for abort() on mingw32
@ 2024-01-30 17:04 Khem Raj
2024-02-02 14:44 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2024-01-30 17:04 UTC (permalink / raw)
To: gcc-patches; +Cc: Khem Raj
libgcc/
* config/i386/enable-execute-stack-mingw32.c: Include
stdlib.h for abort() definition.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
libgcc/config/i386/enable-execute-stack-mingw32.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libgcc/config/i386/enable-execute-stack-mingw32.c b/libgcc/config/i386/enable-execute-stack-mingw32.c
index 99006d97a4e..563de02156a 100644
--- a/libgcc/config/i386/enable-execute-stack-mingw32.c
+++ b/libgcc/config/i386/enable-execute-stack-mingw32.c
@@ -23,6 +23,7 @@
<http://www.gnu.org/licenses/>. */
#define WIN32_LEAN_AND_MEAN
+#include <stdlib.h>
#include <windows.h>
extern void __enable_execute_stack (void *);
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] libgcc: Include stdlib.h for abort() on mingw32
2024-01-30 17:04 [PATCH] libgcc: Include stdlib.h for abort() on mingw32 Khem Raj
@ 2024-02-02 14:44 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2024-02-02 14:44 UTC (permalink / raw)
To: Khem Raj, gcc-patches
On 1/30/24 10:04, Khem Raj wrote:
> libgcc/
> * config/i386/enable-execute-stack-mingw32.c: Include
> stdlib.h for abort() definition.
Thanks. Pushed to the trunk.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-02 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-30 17:04 [PATCH] libgcc: Include stdlib.h for abort() on mingw32 Khem Raj
2024-02-02 14:44 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).