On Thursday 07 January 2010, Steve Franks wrote:
> Personally, I believe -D__DARWIN__ to be a hack, because FreeBSD
> intrinsically defines -D__FreeBSD__ (and that is the proper
> capitalization).  This only effects whatever file generates command.c
> ... I suppose if there's no effect other than to tweak the #ifdef's,
> it's not so much of an issue, but if it's putting the string in the
> code somewhere, you kind of want that string to reflect the actual
> operating system used.

I'd either just add Yet Another #ifdef for __FreeBSD__ ... or just
do what "uname -s" does.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to