[BACK]Return to patch-lib_strerror_override.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / m4 / patches

Annotation of pkgsrc/devel/m4/patches/patch-lib_strerror_override.c, Revision 1.2

1.2     ! wiz         1: $NetBSD: patch-lib_strerror_override.c,v 1.1 2020/08/29 21:39:14 js Exp $
        !             2:
        !             3: Fix build on QNX.
1.1       js          4:
                      5: --- lib/strerror-override.c.orig       2016-12-31 13:54:42.000000000 +0000
                      6: +++ lib/strerror-override.c
                      7: @@ -29,6 +29,8 @@
                      8:  # endif
                      9:  #endif
                     10:
                     11: +/* strerror_override.h might define it to NULL. */
                     12: +#ifndef strerror_override
                     13:  /* If ERRNUM maps to an errno value defined by gnulib, return a string
                     14:     describing the error.  Otherwise return NULL.  */
                     15:  const char *
                     16: @@ -300,3 +302,4 @@ strerror_override (int errnum)
                     17:        return NULL;
                     18:      }
                     19:  }
                     20: +#endif

CVSweb <webmaster@jp.NetBSD.org>