> Rick Altherr> Can we fix this once and for all? 
> [snip]
> Rick Altherr> ... a global variable in the TCL [snip]  
> similar to __LINUX__, __WIN32__, __DARWIN__
> 
> Oyvind>  I don't particularly like the idea of opening up for
> communication between the OS and Tcl.
> 

looks good except for building with mingw.
i would also call it win32 rather than winxx.

+#if defined( _MSC_VER ) || defined( __MINGW32__ )
+       HostOs = "win32";
+#elif defined( __LINUX__)
..

Cheers
Spen

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to