From: Ivan Maidanski Date: Wed, 10 Apr 2019 20:33:39 +0000 (+0300) Subject: Fix MPROTECT_VDB definition for single-threaded GC builds X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65992c1476e9ba90bf165dff1340720c9e4f1268;p=gc Fix MPROTECT_VDB definition for single-threaded GC builds (fix of commit 6d9eec852) * include/private/gcconfig.h [MPROTECT_VDB && !MSWIN32 && !MSWINCE]: Include signal.h. --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 9b5e8b1d..16ce7ab1 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -3158,6 +3158,10 @@ EXTERN_C_BEGIN # undef MPROTECT_VDB #endif +#if defined(MPROTECT_VDB) && !defined(MSWIN32) && !defined(MSWINCE) +# include /* for SA_SIGINFO, SIGBUS */ +#endif + #if defined(SIGBUS) && !defined(HAVE_SIGBUS) && !defined(CPPCHECK) # define HAVE_SIGBUS #endif