On Wed, Feb 10, 2010 at 5:56 PM, Andrew Deason <[email protected]> wrote: > On Wed, 10 Feb 2010 17:38:43 -0500 > Chaz Chandler <[email protected]> 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'
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. -- Derrick _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
