]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "; Another fix for str2sig.h"
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Sep 2024 06:23:55 +0000 (09:23 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 8 Sep 2024 11:22:52 +0000 (13:22 +0200)
This reverts commit df57e44a08fd5c7dc159254a40f5d2e4d008e8df.
It is no longer needed with introduction of nt/inc/signal.h.

(cherry picked from commit 42da79c07583648b8677f2bcc880fad3244ac32e)

lib/sig2str.h

index 62b6d628f12567040a2a1be3c4fc39a364a99a57..bfb207777cc97200a6a05061964753b97d779888 100644 (file)
 # define SIG2STR_MAX (5 + 1 + 10 + 1 + 2)
 #endif
 
-#ifdef __MINGW32__
+#ifndef HAVE_SIG2STR
 int sig2str (int, char *);
 #endif
-#ifdef __MINGW32__
+#ifndef HAVE_STR2SIG
 int str2sig (char const *, int *);
 #endif