8234ef385e
Fix errno. Add DragonFly support.
25 lines
690 B
Text
25 lines
690 B
Text
$NetBSD: patch-ac,v 1.1 2006/02/19 17:50:11 joerg Exp $
|
|
|
|
--- 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
|