Xfce 4.6 BETA-3 (Tuco-Tuco) Released

Kok, Auke sofar at foo-projects.org
Thu Jan 15 20:16:02 CET 2009


Brian J. Tarricone wrote:
> Oliver Lehmann wrote:
> 
>> +#ifndef environ
>> +extern char **environ;
>> +#endif
> 
> Nuh-uh.  ifndef is almost certainly not what we want here.  Either use a
> FreeBSD-specific check, or add a generic check to configure to see if it
> needs to be declared or not.

there should not be anything wrong with just adding an extern *without* the
#ifdef....

of course extern definitions should really live in header files.

Auke



More information about the Xfce4-dev mailing list