Skip to content
Tcl Source Code Artifact [f3da62b2f8]
Login

Artifact [f3da62b2f8]

Artifact f3da62b2f801268e369b509f8a36c465d30319f7:

Ticket change [f3da62b2f8] - Closed ticket [3474726fffffffff|3474726fff]: <i>minGW Tcl_StatBuf not defined correctly in tcl.h</i> plus 8 other changes by nijtmans on 2012-01-18 15:15:35.
D 2012-01-18T15:15:35
J assignee nijtmans
J closedate 2012-01-18T08:15:35
J closer nijtmans
J icomment \n\nallow_comments\s-\s1\n\n_stat32i64\sis\ssupposed\sto\sbe\sdefined\sin\sstat.h,\ssince\sVS2005,\sSee:\n\s\s\s\shttp://msdn.microsoft.com/en-us/library/14h5k7ff%28v=vs.80%29.aspx\nBefore\sthat,\sthis\sstructure\swas\snamed\s_stati64,\sbut\ssince\sVS2005\nthe\s_stati64\sdefinition\sbecame\sdependent\son\sthe\s_USE_32BIT_TIME_T\nmacro.\sWe\scannot\sforce\sextensions\sto\sset\s_USE_32BIT_TIME_T,\ntherefore\sthe\sworkaround\sto\sinclude\sthe\s_stat32i64\sstructure\nin\stclWinPort.h\sif\snot\savailable\selsewhere.\n\nThe\sreal\ssolution\sis\sto\suse\sa\smingw\sversion\swhich\shas\sa\s_stat32i64\ndefinition\sin\ssys/stat.h.\sAnother\sworkaround\sfor\sfreewrap\scould\nbe\sto\suse\sthe\sfact\sthat\sif\s_USE_32BIT_TIME_T\sis\sdefined\nthat\sthen\s_stati64\sis\sthe\ssame\sas\s_stat32i64.\sSo,\sfreewrap\ncould\suse\ssomething\slike\s(untested!!!):\n\n#define\s_USE_32BIT_TIME_T\n#include\s<sys/stat.h>\n#ifndef\s_stat32i64\n#\s\s\sdefine\s_stat32i64\s_stati64\n#endif\n#include\s<tcl.h>\n\nSee\sbug\s3288345\sfor\smore\sdetails\swhere\sthis\sproblem\scome\sfrom.\nAnyway,\sit's\sup\sto\smingw\sto\sprovide\sa\s_stat32i64\sdefinition,\sor\nup\sto\sfreewrap\sto\sprovide\sa\sworkaround\swhen\sit\swants\sto\ssupport\na\smingw\sversion\swhich\slacks\s_stat32i64\n
J login nijtmans
J mimetype text/plain
J resolution Invalid
J status Closed
J username nijtmans
K 3474726fffffffffffffffffffffffffffffffff
U nijtmans
Z 28544dd747fac4ff27471c53fb3661ff