Issue5407

Broken Py3.1 release build in Visual Studio 2005

The CRT runtime structure that holds ioinfo doesn't appear to match the decleration from the headers provided with the Visual Studio 2005 crt sources.  In Release, an extra 8 bytes follow the final BOOL.  I cannot explain this, but the code works now, both in 32 bits and 64
This commit is contained in:
Kristján Valur Jónsson 2009-03-03 06:52:34 +00:00
parent a88e4daf52
commit 45ed72ddaf
1 changed files with 6 additions and 0 deletions

View File

@ -382,6 +382,12 @@ typedef struct {
char pipech2[2];
__int64 startpos;
BOOL utf8translations;
#ifndef _DEBUG
/* padding hack. 8 byte extra length observed at
* runtime, for 32 and 64 bits when not in _DEBUG
*/
__int32 _padding[2];
#endif
#endif /* _SAFECRT_IMPL */
} ioinfo;
#endif