Re: Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-04 Thread Martin Spott
Martin Spott wrote: Would anyone object to a patch that unifies this to (__sun) ? Patch1/3: --- SimGear/simgear/compiler.h~ 2005-10-04 20:19:51.302671700 +0200 +++ SimGear/simgear/compiler.h 2005-10-04 20:19:51.322671800 +0200 @@ -324,7 +324,7 @@ #endif // Native SGI compilers -#if

Re: Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-04 Thread Martin Spott
Martin Spott wrote: Would anyone object to a patch that unifies this to (__sun) ? Patch3/3: --- TerraGear/src/BuildTiles/Parallel/server.cxx~ 2005-10-04 20:26:05.158702550 +0200 +++ TerraGear/src/BuildTiles/Parallel/server.cxx2005-10-04 20:26:05.168701750 +0200 @@ -29,7 +29,7

Re: Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-04 Thread Martin Spott
Martin Spott wrote: Would anyone object to a patch that unifies this to (__sun) ? Patch2/3: --- FlightGear/src/AIModel/AIAircraft.cxx~ 2005-10-04 20:23:11.495899550 +0200 +++ FlightGear/src/AIModel/AIAircraft.cxx 2005-10-04 20:23:11.515898800 +0200 @@ -36,7 +36,7 @@ #ifdef

Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-03 Thread Martin Spott
Martin Spott wrote: --- SimGear/simgear/misc/stdint.hxx~ 2005-10-03 18:53:28.606579000 +0200 +++ SimGear/simgear/misc/stdint.hxx 2005-10-03 18:53:28.632024750 +0200 @@ -56,7 +56,7 @@ typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned __int64

Re: Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-03 Thread Andy Ross
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)

Re: Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-03 Thread Erik Hofman
Andy Ross wrote: On a similar note, we're using __CYGWIN__ a *lot* in the current source code seemingly as a synonym for windows with gcc and not msvc, which isn't really correct. The right way to test this would be to look for _WIN32 and __gcc__ (or !_MSC_VER), which will continue to work

Re: Define SUN; Was: [Flightgear-devel] RFC: FlightGear 0.9.9

2005-10-03 Thread Martin Spott
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: