]> git.eshelyaron.com Git - emacs.git/commit
Fix MinGW build broken by recent update from Gnulib
authorEli Zaretskii <eliz@gnu.org>
Thu, 5 Sep 2024 05:20:59 +0000 (08:20 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 5 Sep 2024 05:42:27 +0000 (07:42 +0200)
commitb8680024e11e799900330f2098aa7d740ad142ad
tree45916159da0bfcca5d3190c546c7ea1881de80c3
parentb920865b6cf77cd7de224b38af1e9dc58d9e50cf
Fix MinGW build broken by recent update from Gnulib

Gnulib moved the prototypes of 'sig2str' and 'str2sig' from
sig2str.h to signal.h, but MinGW does not use the Gnulib
signal.h header, and doesn't have these functions in its
own signal.h.
* lib/sig2str.h (SIG2STR_MAX, sig2str, str2sig): Define and
prototype if not already defined.

(cherry picked from commit b737c6125d69497ad5d2a29d4b5a2b17698992e5)
lib/sig2str.h