aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2012-06-16 14:26:11 -0400
committerGene Cumm <gene.cumm@gmail.com>2012-11-06 23:36:15 -0500
commitf2dcc2af485342a25a4fc9b8f38bbbd503ec2f16 (patch)
treed5d4007f651bdcda69820cc0496ffef85283a164
parent59d90c5fbb42be60d92d81fa69176ae97740d171 (diff)
downloadsyslinux-f2dcc2af485342a25a4fc9b8f38bbbd503ec2f16.tar.gz
com32 strerror(): Remove macro WITH_ERRLIST use
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--com32/lib/strerror.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/lib/strerror.c b/com32/lib/strerror.c
index fed0e492..1b3d4452 100644
--- a/com32/lib/strerror.c
+++ b/com32/lib/strerror.c
@@ -11,13 +11,11 @@ char *strerror(int errnum)
char *p;
unsigned int e = (unsigned int)errnum;
-#ifdef WITH_ERRLIST
extern const int sys_nerr;
extern const char *const sys_errlist[];
if (e < (unsigned int)sys_nerr && sys_errlist[e])
return (char *)sys_errlist[e];
-#endif
p = numbuf + sizeof numbuf;
*--p = '\0';