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
