Peter Memishian wrote:
 > #ifndef __sparc
 >         x86 specific code
 > #endif
> > I found it a strange way of coding. There must be some explanation for
 > this style instead of usual
> > #ifdef __i386
 >         x86 specific code
 > #endif
> > Can someone elaborate, please.

I can't speak to that specific piece of code, but in general I'd regard
instances of what you describe above as bugs, as they will cause problems
when porting to new architectures.

I can imagine a case where something needs to be done on all known archs *except* SPARC. I, too, didn't look at this specific case.
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to