1
0
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:
uz 2010-06-03 21:31:06 +00:00
parent a7f392a96f
commit 49723f6a64

View File

@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998-2003 Ullrich von Bassewitz */ /* (C) 1998-2010, Ullrich von Bassewitz */
/* Römerstrasse 52 */ /* Roemerstrasse 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* EMail: uz@cc65.org */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@ -42,7 +42,7 @@
void __fastcall__ perror (const char* msg) void __fastcall__ perror (const char* msg)
{ {
/* Fetch the message that corresponds to errno */ /* Fetch the message that corresponds to errno */
const char* errormsg = strerror (errno); const char* errormsg = strerror (_errno);
/* Different output depending on msg */ /* Different output depending on msg */
if (msg) { if (msg) {