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:
parent
a88e4daf52
commit
45ed72ddaf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue