[OpenAFS-devel] Re: JUAFS Makefile missing key defines?

Derrick Brashear shadow@gmail.com
Wed, 10 Feb 2010 23:53:54 -0500


On Wed, Feb 10, 2010 at 5:56 PM, Andrew Deason <adeason@sinenomine.net> wro=
te:
> 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. =A0Thoughts?
>
> 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'

this is the easiest non-wretched option for now, and is approximately
what i commented on the last of these (label) changes in gerrit to
suggest, but hadn't done yet.

--=20
Derrick