$NetBSD: patch-ac,v 1.3 2021/12/27 03:17:17 dholland Exp $ Support 64-bit arm. Don't declare own errno. --- scmfig.h.orig 2006-06-04 02:35:35.000000000 +0000 +++ scmfig.h @@ -277,6 +277,9 @@ rgx.c init_rgx(); regcomp and regexec. * # endif # endif #endif +#ifdef __aarch64__ +#define SHORT_INT +#endif #ifdef __alpha # define SHORT_INT #endif @@ -816,20 +819,6 @@ typedef SCM *SCMPTR; gc_for_open_files();\ else if (!SCM_INTERRUPTED(errno)) break;}} -#ifndef MSDOS -# ifdef ARM_ULIB - extern volatile int errno; -# else - extern int errno; -# endif -#endif -#ifdef __TURBOC__ -# if (__TURBOC__==1) - /* Needed for TURBOC V1.0 */ - extern int errno; -# endif -#endif - /* EXIT_SUCCESS is the default code to return from SCM if no errors were encountered. EXIT_FAILURE is the default code to return from SCM if errors were encountered. The return code can be explicitly