2013-09-26 17:14:40 +02:00

18 lines
498 B
Plaintext

$NetBSD: patch-bo,v 1.3 2012/02/16 14:13:15 hans Exp $
--- tcl/strerror.c.orig 1995-02-24 16:19:50.000000000 -0500
+++ tcl/strerror.c 2008-12-16 20:18:00.000000000 -0500
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <string.h>
+#if !defined(BSD4_4) && !defined(__linux__) && !defined(__APPLE__) && !defined(__DragonFly__) && !defined(__sun)
/*
* List of known errors:
*/
@@ -138,3 +139,4 @@
(void) sprintf(defaultMsg, "unknown error (%d)", error);
return defaultMsg;
}
+#endif