strsignal declaration commented out
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 28 Dec 2006 22:22:19 +0000 (22:22 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 28 Dec 2006 22:22:19 +0000 (22:22 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4534 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/cpp2/config.in
support/cpp2/system.h

index d5c3dbdda421a8d992fe27cea0188eed776674ec..2341ef92299135235d3873f2fd7e5c4b44ce2c51 100644 (file)
 /* 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
 
index 676483c1eeb69deaa635e5b4c018c13d8097231a..7226e38b5c43e2d7a5910364c0bc30c112ca759d 100644 (file)
@@ -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