From: cuz Date: Wed, 20 Nov 2002 18:14:53 +0000 (+0000) Subject: Add declaration of __errno X-Git-Tag: V2.12.0~2080 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f65039f4905cf851613a4463d04b633d28ab8c12;p=cc65 Add declaration of __errno git-svn-id: svn://svn.cc65.org/cc65/trunk@1553 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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