What's with the lonely #ifndef?

On Wed, Sep 29, 2010 at 9:37 AM, Enlightenment SVN <
no-re...@enlightenment.org> wrote:

> Log:
>  NAME_MAX defined to 255 on sun (if not defined).
> Author:       caro
> Date:         2010-09-28 23:37:56 -0700 (Tue, 28 Sep 2010)
> New Revision: 52881
>
> Modified:
>  trunk/eina/src/lib/eina_file.c
>
> Modified: trunk/eina/src/lib/eina_file.c
> ===================================================================
> --- trunk/eina/src/lib/eina_file.c      2010-09-29 05:41:09 UTC (rev 52880)
> +++ trunk/eina/src/lib/eina_file.c      2010-09-29 06:37:56 UTC (rev 52881)
> @@ -59,6 +59,14 @@
>  # 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"
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to