From f65039f4905cf851613a4463d04b633d28ab8c12 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 20 Nov 2002 18:14:53 +0000 Subject: [PATCH] Add declaration of __errno git-svn-id: svn://svn.cc65.org/cc65/trunk@1553 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/errno.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/asminc/errno.inc b/asminc/errno.inc index 197a35574..b3464fdea 100644 --- a/asminc/errno.inc +++ b/asminc/errno.inc @@ -2,8 +2,11 @@ ; Ullrich von Bassewitz, 16.05.2000 ; -; Error codes, must match the values in the C headers +; errno variable + + .global __errno +; Error codes, must match the values in the C headers ENOENT = 1 ; No such file or directory ENOMEM = 2 ; Out of memory EACCES = 3 ; Permission denied -- 2.39.5