From: uz Date: Thu, 3 Jun 2010 21:31:06 +0000 (+0000) Subject: Use _errno, not errno. X-Git-Tag: V2.13.3~729 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=49723f6a64c5d12fcf8172b83c9bdee4069477cd;p=cc65 Use _errno, not errno. git-svn-id: svn://svn.cc65.org/cc65/trunk@4703 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/common/perror.c b/libsrc/common/perror.c index 9edc08f6e..ddc015c1e 100644 --- a/libsrc/common/perror.c +++ b/libsrc/common/perror.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998-2003 Ullrich von Bassewitz */ -/* Römerstrasse 52 */ -/* D-70794 Filderstadt */ -/* EMail: uz@cc65.org */ +/* (C) 1998-2010, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -42,7 +42,7 @@ void __fastcall__ perror (const char* msg) { /* Fetch the message that corresponds to errno */ - const char* errormsg = strerror (errno); + const char* errormsg = strerror (_errno); /* Different output depending on msg */ if (msg) {