Darrell Walisser wrote:
Gents,

As far as compiling, there are two patches required to SimGear (see below for diff). The first one should be self-explanatory. The second one is required because the default stack limit in Mac OS X is 256K. The "unlimit" command is the other option, but I don't feel anyone should be forced to use it just to get fgfs to run.

The SimGear patches are committed now.


===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/metar/Local.h,v
retrieving revision 1.2
diff -u -r1.2 Local.h
--- simgear/metar/Local.h       23 Jul 2003 09:59:39 -0000      1.2
+++ simgear/metar/Local.h       23 Nov 2003 01:38:09 -0000
@@ -1107,7 +1107,7 @@
 char *rptfmt(char *);
 char *rptfmti(char *, unsigned short int);

-#ifndef __FreeBSD__ // strnstr is already defined on FreeBSD
+#if !defined(__FreeBSD__) && !defined(__APPLE__) // strnstr is already defined on FreeBSD / Darwin
char *strnstr(char *, char *, size_t);
#endif


are you sure this one still works on previous versions of MacOS ?

Erik


_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to