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 defined ( sun )
+#if defined (__sun)
# include <strings.h>
# include <memory.h>
# if defined ( __cplusplus )
--- SimGear/simgear/timing/sg_time.cxx~ 2005-10-04 20:20:10.222998350 +0200
+++ SimGear/simgear/timing/sg_time.cxx 2005-10-04 20:20:10.243047600 +0200
@@ -530,7 +530,7 @@
#else // ! defined ( MK_TIME_IS_GMT )
// timezone seems to work as a proper offset for Linux & Solaris
-# if defined( __linux__ ) || defined( __sun__ ) ||defined(__CYGWIN__)
+# if defined( __linux__ ) || defined(__sun) ||defined(__CYGWIN__)
# define TIMEZONE_OFFSET_WORKS 1
# 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