[OpenAFS-devel] Re: JUAFS Makefile missing key defines?
Andrew Deason
adeason@sinenomine.net
Wed, 10 Feb 2010 16:56:57 -0600
On Wed, 10 Feb 2010 17:38:43 -0500
Chaz Chandler <clc31@inbox.com> wrote:
> So we could either compile JUAFS with c99, remove JUAFS from the
> default compile on IRIX, or find some (possibly ugly) AFS_*_ENV
> solution. Thoughts?
If you mean "some (possibly ugly) AFS_*_ENV solution" for whether or not
we use struct labels... I don't think it would be that ugly. Either make
a configure test, or just use '#ifdef __c99' for labels, or put
something like:
#if defined(__c99) || !(defined(AFS_SGI_ENV) || defined(AFS_USR_SGI_ENV) || defined(AFS_NT40_ENV))
# define AFS_STRUCT_LABEL_ENV 1
#endif
somewhere and use '#ifdef AFS_STRUCT_LABEL_ENV'
--
Andrew Deason
adeason@sinenomine.net