From d4e8de2d0b88d484048aa69ab53b75f7d2786b01 Mon Sep 17 00:00:00 2001 From: borutr Date: Thu, 28 Dec 2006 22:22:19 +0000 Subject: [PATCH] strsignal declaration commented out git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4534 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/cpp2/config.in | 3 +++ support/cpp2/system.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/support/cpp2/config.in b/support/cpp2/config.in index d5c3dbdd..2341ef92 100644 --- a/support/cpp2/config.in +++ b/support/cpp2/config.in @@ -100,6 +100,9 @@ /* Define if you have the strchr function. */ #undef HAVE_STRCHR +/* Define to 1 if you have the `strsignal' function. */ +#undef HAVE_STRSIGNAL + /* Define if you have the strdup function. */ #undef HAVE_STRDUP diff --git a/support/cpp2/system.h b/support/cpp2/system.h index 676483c1..7226e38b 100644 --- a/support/cpp2/system.h +++ b/support/cpp2/system.h @@ -337,12 +337,14 @@ extern void *realloc (void *, size_t); /* If the system doesn't provide strsignal, we get it defined in libiberty but no declaration is supplied. */ +/* Disabled since it causes errors on solaris #if !defined (HAVE_STRSIGNAL) \ || (defined (HAVE_DECL_STRSIGNAL) && !HAVE_DECL_STRSIGNAL) # ifndef strsignal extern const char *strsignal (int); # endif #endif +*/ #ifdef HAVE_GETRLIMIT # if defined (HAVE_DECL_GETRLIMIT) && !HAVE_DECL_GETRLIMIT -- 2.47.2