Fixed FILENAME_MAX

git-svn-id: svn://svn.cc65.org/cc65/trunk@3469 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2005-04-19 13:15:52 +00:00
parent 977cb3d900
commit 6448e4cf51
2 changed files with 10 additions and 10 deletions

View File

@@ -70,15 +70,15 @@ extern FILE* stderr;
/* Standard defines that are platform dependent */
#if defined(__APPLE2__) || defined(__APPLE2ENH__)
# define FILENAME_MAX 64
# define FILENAME_MAX (64+1)
#elif defined(__ATARI__)
# define FILENAME_MAX 12
# define FILENAME_MAX (12+1)
#elif defined(__LUNIX__)
# define FILENAME_MAX 80
# define FILENAME_MAX (80+1)
#else
# define FILENAME_MAX 16
# define FILENAME_MAX (16+1)
#endif
#define L_tmpnam (FILENAME_MAX + 1)
#define L_tmpnam FILENAME_MAX