From: Benjamin R. <Ben...@ep...> - 2001-10-18 15:12:42
|
Hi all, I recently tried to compile Tcl with Mingw and w32api-1.1-1. It looks like there is a regression in there with respect w32api-20001225, that I was using before. There is a section in winnt.h with used to look like this in w32api-20001225: >>>>>>>>>>>>> #ifndef VOID #define VOID void typedef char CHAR; typedef short SHORT; typedef long LONG; #endif <<<<<<<<<<<< This bit was apeears excatly the same in Tcl's tcl.h, so that winnt.h doesn't need to be included in all Tcl files, but these typedefs are still available. In w32api-1.1-1 this section has changed to: >>>>>>>>>>>> #ifndef VOID #define VOID void #endif typedef char CHAR; typedef short SHORT; typedef long LONG; <<<<<<<<<<<< IOW, the typedefs are not covered by the #ifndef any more. Is this intentional or is it a bug? so long, benny |