This reverts parts of 0e8b607489d29b3039581c1a44126118b56cf5b7.

User code may reference the signal() symbol, even if they might
not expect fully working signal handling in all cases - the code
referencing the signal symbol may be built e.g. with unwind
tables disabled (which disables the __SEH__ define).

Signed-off-by: Martin Storsjö <[email protected]>
---
 mingw-w64-headers/crt/signal.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/mingw-w64-headers/crt/signal.h b/mingw-w64-headers/crt/signal.h
index 6e47f7729..097120192 100644
--- a/mingw-w64-headers/crt/signal.h
+++ b/mingw-w64-headers/crt/signal.h
@@ -57,13 +57,7 @@ extern "C" {
   extern void **__cdecl __pxcptinfoptrs(void);
 #define _pxcptinfoptrs (*__pxcptinfoptrs())
 
-  /* mingw-w64 provides signal support for:
-   * - all builds for i386 platform
-   * - SEH builds for non-i386 platforms
-   */
-#if defined(__i386__) || (defined(__SEH__) && (!defined(__clang__) || 
__clang_major__ >= 7))
   __p_sig_fn_t __cdecl signal(int _SigNum,__p_sig_fn_t _Func);
-#endif
   int __cdecl raise(int _SigNum);
 
 #ifdef __cplusplus
-- 
2.43.0



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to