<i>unix: tcl.h does not include sys/stat.h</i> status still Open with 4 other changes
by
.
D 2013-01-17T20:50:05
J icomment dkf:\sYes,\sthere\sis\s(a\sreason\swhy\stclWinPort.h\sis\sbefore\stcl.h\sin\stclPort.h).\s\sIt's\sto\smake\ssure\sthat\s_USE_32BIT_TIME_T\sis\sdefined\sbefore\syou\sinclude\stcl.h,\sso\sthat\sthe\stcl.h\shandling\sof\sstatbuf\sgives\sthe\scorrect\sdefinition:\n\n#if\sdefined(__WIN32__)\n#\s\s\sifdef\s__BORLANDC__\ntypedef\sstruct\sstati64\sTcl_StatBuf;\n#\s\s\selif\sdefined(_WIN64)\ntypedef\sstruct\s__stat64\sTcl_StatBuf;\n#\s\s\selif\s(defined(_MSC_VER)\s&&\s(_MSC_VER\s<\s1400))\s||\sdefined(_USE_32BIT_TIME_T)\ntypedef\sstruct\s_stati64Tcl_StatBuf;\n#\s\s\selse\ntypedef\sstruct\s_stat32i64\sTcl_StatBuf;\n#\s\s\sendif\s/*\s_MSC_VER\s<\s1400\s*/\n\n
J login twylite
J mimetype text/plain
J username twylite
K 3598300fffffffffffffffffffffffffffffffff
U twylite
Z a5add5e74e9adf26b0e863d19fb29f09