SIMGEAR/simgear/compiler.h needs a minor change to compile on my mac running 64-bit Snow Leopard. The proposed change is attached to this mail. It should be safe to apply it. Can someone please commit it to simgear CVS.

Jari
Index: simgear/compiler.h
===================================================================
RCS file: /var/cvs/SimGear-0.3/source/simgear/compiler.h,v
retrieving revision 1.31
diff -u -p -r1.31 compiler.h
--- simgear/compiler.h  26 Oct 2009 09:05:19 -0000      1.31
+++ simgear/compiler.h  30 Oct 2009 22:34:57 -0000
@@ -138,8 +138,8 @@ inline int (isnan)(double r) { return !(
     // any C++ header file undefines isinf and isnan
     // so this should be included before <iostream>
     // the functions are STILL in libm (libSystem on mac os x)
-extern "C" int isnan (double);
-extern "C" int isinf (double);
+extern "C" int (isnan)(double);
+extern "C" int (isinf)(double);
 #    endif
 #  else
 inline int (isnan)(double r) { return !(r <= 0 || r >= 0); }
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to