From: caro Date: Wed, 29 Sep 2010 06:37:56 +0000 (+0000) Subject: NAME_MAX defined to 255 on sun (if not defined). X-Git-Tag: 2.0_alpha~70^2~342 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbe1b66ff11cab60516dd19b9249adc8c6d75706;p=framework%2Fuifw%2Feina.git NAME_MAX defined to 255 on sun (if not defined). git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@52881 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eina_file.c b/src/lib/eina_file.c index d009faf..e1f4576 100644 --- a/src/lib/eina_file.c +++ b/src/lib/eina_file.c @@ -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"