Andy Ross wrote:
> Martin Spott wrote:
>> I remembered Andy's pointer to
>> http://predef.sourceforge.net/preos.html and had a look at the
>> different ways how Solaris-specific defines are currently
>> implemented within FlightGear and required libraries:
>>   [...]
>> SimGear/simgear/nasal/nasal.h:
>>      defined(sun386)
>>   [...]
>> Would anyone object to a patch that unifies this to "(__sun)"?
> 
> Sounds good to me.  Although with the nasal.h one I think I'd prefer
> to change that code to one that detects CPU architectures
> specifically, without dependence on OS-specific header files.

Yes, I know, you're distinguishing big-/little-endianess in this case.
The other ones should be candidates for a cleanup,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to