prevent core dump to get the baseaddress

This commit is contained in:
dwarning 2018-10-16 13:38:02 +02:00
parent 383f1d14f1
commit 5c31aec164
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ fault(void)
static void *
baseaddr(void)
{
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(HAVE_WIN32) || defined(__APPLE__)
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(HAVE_WIN32) || defined(__APPLE__) || defined(__SUNPRO_C)
return 0;
#else
char *low, *high, *at;