oksh-noxz

[fork] Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
git clone https://noxz.tech/git/oksh-noxz.git
oksh-noxz

commit: fa16ee90f72d50ce94fe27d3e810893656f76f91
parent: 24e859a7eb8aba1c052706fe825c2c9e2ec6b94b
author: Brian Callahan <bcallah@openbsd.org>
date:   Wed, 5 Feb 2020 08:00:31 -0500
If you don't have __attribute__((noreturn)) support, assume you
don't have any __attribute__ support.
Mconfigure2++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
@@ -659,7 +659,9 @@ else
       echo "yes"
     else
       echo "#define __dead" >> pconfig.h
+      echo "#define __attribute__(x)" >> pconfig.h
       echo "no"
+    fi
   fi
 fi