Files
pkgsrc-ng/lang/STk/patches/patch-aj
2016-11-18 22:39:22 +01:00

22 lines
595 B
Plaintext

$NetBSD: patch-aj,v 1.2 2015/12/29 23:34:43 dholland Exp $
Don't declare own errno.
--- Tcl/tclUnixPort.h.orig 2006-01-11 17:08:11.000000000 +0000
+++ Tcl/tclUnixPort.h
@@ -176,14 +176,6 @@
#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_LF
/*
- * Not all systems declare the errno variable in errno.h. so this
- * file does it explicitly. The list of system error messages also
- * isn't generally declared in a header file anywhere.
- */
-
-extern int errno;
-
-/*
* The type of the status returned by wait varies from UNIX system
* to UNIX system. The macro below defines it:
*/