Martin Spott wrote: > "Curtis L. Olson" wrote: >> Update of /var/cvs/FlightGear-0.9/source/src/Network >> In directory baron:/tmp/cvs-serv347 >> >> Modified Files: >> net_ctrls.hxx net_fdm.hxx >> Log Message: >> 32 bit integers are somewhat magical and handled pretty well across platforms >> in terms of predictable packing and byte ordering. > > Now, as a first step of 'least intrusive' simplification would people > agree on this patch ?
I found a third location: --- FlightGear/src/Network/net_gui.hxx~ 2005-05-06 14:16:34.910007000 +0200 +++ FlightGear/src/Network/net_gui.hxx 2005-05-06 14:16:31.514042100 +0200 @@ -20,15 +20,11 @@ #ifdef HAVE_STDINT_H # include <stdint.h> -#elif defined( _MSC_VER ) || defined(__MINGW32__) -typedef signed char int8_t; +#elif defined( _MSC_VER ) || defined(__MINGW32__) || defined(sun) typedef signed short int16_t; typedef signed int int32_t; -typedef signed __int64 int64_t; -typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; -typedef unsigned __int64 uint64_t; #else # error "Port me! Platforms that don't have <stdint.h> need to define int8_t, et. al." #endif Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
