Hi Fred, Thanks for your advice. I uploaded the platform independent patch without #ifdef - #endif at: http://sourceforge.net/project/showfiles.php? group_id=126825&package_id=143552
If you want to take a look at other patches, download all that patches I've made so far at: http://macflightgear.svn.sourceforge.net/viewvc/macflightgear/trunk/ FlightGear-0.9.10-MacOSX-diff.tar.gz?view=log You might be interested in FlightGear-0.9.0-MacOSX.diff that comes with the tar.gz file in the svn repository. This patch fixes the incorrect rendering of the sun and the moon on Mac OS X but is not Mac specific so I didn't add #ifdef - #endif. Best, Tat On Nov 22, 2006, at 12:29 AM, Frederic Bouvier wrote: > a better way would be to do it is without the "#ifdef __APPLE__" > condition. If > your change works for you, maybe it will work for us. Propose a > patch without > the #ifdef thingy and we'll see if it's ok for the other supported > platforms. > Cluttering the source with platform specific #ifdef is the best way > to break > something one day or another by someone that doesn't compile on the > said > platform. > > -Fred ------------------------------------------- Tatsuhiro Nishioka Mail: [EMAIL PROTECTED] ------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel