NAME_MAX defined to 255 on sun (if not defined).

SVN revision: 52881
This commit is contained in:
Vincent Torri 2010-09-29 06:37:56 +00:00
parent c4771c0127
commit e06c65f79d
1 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,14 @@ void *alloca (size_t);
# define NAME_MAX MAX_PATH
#endif
#ifdef __sun
# ifndef NAME_MAX
# define NAME_MAX 255
# endif
#endif
#ifndef
#include "eina_config.h"
#include "eina_private.h"