28 lines
719 B
Plaintext
28 lines
719 B
Plaintext
$NetBSD: patch-ac,v 1.2 2015/12/29 23:34:55 dholland Exp $
|
|
|
|
Don't declare own errno.
|
|
|
|
--- scmfig.h.orig 2006-02-08 17:51:31.000000000 +0000
|
|
+++ scmfig.h
|
|
@@ -793,20 +793,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
|