From f31f07a0fd5230b9468d14fc076e5c0a4fa0aef4 Mon Sep 17 00:00:00 2001 From: jpco Date: Sun, 29 Dec 2024 12:41:50 -0800 Subject: [PATCH] Add a halfway-reasonable fallback NSIG value --- stdenv.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stdenv.h b/stdenv.h index 8caab1c..98bfbf8 100644 --- a/stdenv.h +++ b/stdenv.h @@ -165,6 +165,11 @@ extern void *qsort( #define STRING(s) #s #endif +/* this is not a principled fallback, but it should work on most systems */ +#ifndef NSIG +#define NSIG 64 +#endif + /* * types we use throughout es