From: Benjamin R. <Ben...@ep...> - 2001-10-23 18:44:34
|
Hi Danny, Danny Smith <dan...@ya...> writes: > However, generic/tcl.h probabbly also needs a patch. The __WIN32__ > guard in tcl.h assumes that every platform that uses the w32api also > defines __WIN32__. That of course is not true. > > < #ifndef __WIN32__ > > #ifndef __TCL_USE_W32API __WIN32__ is used for this throughout. If it is missing for a compiler, it is explicitly defined in one of the first sections in tcl.h. C/C++-wise this is not the recommended way to do it (__WIN32__ being a reserved identifier in C/C++), but it works and has been like this in tcl.h for some time ;-) so long, benny |