freebsd-ports/palm/prc-tools/files/post-patch-gcc:strerror.c
Mark Linimon 552db21533 Update to 2.3. No longer needs quite so many antique gcc files.
Enable the arm tools (although they aren't - submitter doesn't have
an arm palm pilot).  Also now compiles on 5.x.  (Tested on 4.x as well).

PR:		ports/62491
Submitted by:	Peter Haight <peterh@sapros.com>
2004-02-08 10:07:40 +00:00

18 lines
464 B
C

--- libiberty/strerror.c.orig2 Fri Feb 6 19:04:47 2004
+++ libiberty/strerror.c Fri Feb 6 19:04:54 2004
@@ -13,7 +13,6 @@
incompatible with our later declaration, perhaps by using const
attributes. So we hide the declaration in errno.h (if any) using a
macro. */
-#define sys_nerr sys_nerr__
#define sys_errlist sys_errlist__
#endif
@@ -21,7 +20,6 @@
#include <errno.h>
#ifdef HAVE_SYS_ERRLIST
-#undef sys_nerr
#undef sys_errlist
#endif