Without that change, Local.h won't build under Panther, but it built just fine under Janguar (10.2). Unfortunately, the Mac on which I had both 10.1 and 10.2 installed is with my brother. If someone thinks it is important, I can *try* to walk him through the build process.
Jonathan Polley On Sunday, November 23, 2003, at 01:05PM, Darrell Walisser <[EMAIL PROTECTED]> wrote: > >On Nov 23, 2003, at 1:01 PM, [EMAIL PROTECTED] >wrote: >> >>> =================================================================== >>> 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 ? > >Not 100% sure, but pretty sure. Most of the unix layer in Mac OS X >comes directly from BSD so I presume it had this function going all the >way back to 10.0. > > >_______________________________________________ >Flightgear-devel mailing list >[EMAIL PROTECTED] >http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > Of COURSE they can do that. They're engineers! _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
