mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
Add some changes from stdio.h, FILENAME_MAX
git-svn-id: svn://svn.cc65.org/cc65/trunk@3464 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
088d5baaca
commit
0994a1cbd2
@ -6,10 +6,10 @@
|
|||||||
;* */
|
;* */
|
||||||
;* */
|
;* */
|
||||||
;* */
|
;* */
|
||||||
;* (C) 2003 Ullrich von Bassewitz */
|
;* (C) 2003-2005, Ullrich von Bassewitz */
|
||||||
;* Römerstrasse 52 */
|
;* Römerstrasse 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 */
|
||||||
@ -41,7 +41,15 @@ _IOLBF = 1
|
|||||||
_IONBF = 2
|
_IONBF = 2
|
||||||
BUFSIZ = 256
|
BUFSIZ = 256
|
||||||
EOF = -1
|
EOF = -1
|
||||||
|
.if .defined(__APPLE2__) .or .defined(__APPLE2ENH__)
|
||||||
|
FILENAME_MAX = 64
|
||||||
|
.elseif .defined(__ATARI__)
|
||||||
|
FILENAME_MAX = 12
|
||||||
|
.elseif .defined(__LUNIX__)
|
||||||
|
FILENAME_MAX = 80
|
||||||
|
.else
|
||||||
FILENAME_MAX = 16
|
FILENAME_MAX = 16
|
||||||
|
.endif
|
||||||
L_tmpnam = (FILENAME_MAX + 1)
|
L_tmpnam = (FILENAME_MAX + 1)
|
||||||
SEEK_CUR = 0
|
SEEK_CUR = 0
|
||||||
SEEK_END = 1
|
SEEK_END = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user