mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
Use _errno, not errno.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4703 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a7f392a96f
commit
49723f6a64
@ -6,8 +6,8 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* Römerstrasse 52 */
|
||||
/* (C) 1998-2010, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user