Artifacts Associated With Ticket 1054357
Ticket change [ef2349d496] (rid 108941) by davygrvy on 2004-10-26 04:58:39:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Should be __WIN32__ as the proper check. See tclPort.h Index: tclClock.c =================================================================== RCS file: /cvsroot/tcl/tcl/generic/tclClock.c,v retrieving revision 1.35 diff -c -r1.35 tclClock.c *** tclClock.c21 Oct 2004 03:53:04 -00001.35 --- tclClock.c26 Oct 2004 04:55:29 -0000 *************** *** 21,27 **** * Windows has mktime. The configurators do not check. */ ! #ifdef WIN32 #define HAVE_MKTIME 1 #endif --- 21,27 ---- * Windows has mktime. The configurators do not check. */ ! #ifdef __WIN32__ #define HAVE_MKTIME 1 #endif
- foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "davygrvy"
- subsystem initialized to: "06. Time Measurement"
- title initialized to: "WIN32 not proper macro"
- type initialized to: "Bug"
Ticket change [e7de0f5600] (rid 104547) by davygrvy on 2004-10-26 12:13:52:
- icomment:
Logged In: YES user_id=7549 A note on history of __WIN32__... If we go back to the 7.6 source, you'll see the origin of it there as __WIN32__ is the Borland compiler intrinsic macro. It has always been the "top-level" platform macro for compiling on windows. It is even written right into genStubs.tcl and a quick grep pulls up 58 occurances throughout the source excluding the headers. I'm not against changing the name of the top-level macro to WIN32, but don't want to see the meaning of __WIN32__ dilluted in tclClock.c
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [b1b5fd2c2d] (rid 98197) by davygrvy on 2004-10-27 01:39:09:
- icomment:
Logged In: YES user_id=7549 If you want to change to WIN32 as the top-level, apply this patch.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Add attachment "patch.txt" [e3d4b4d976] (rid 87865) by davygrvy on 2004-10-27 01:39:10.
Ticket change [e5f96bfe8c] (rid 104221) by davygrvy on 2004-10-27 01:39:11:
- icomment:
File Added - 106575: patch.txt
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [3f0e03f765] (rid 121381) by kennykb on 2004-10-31 01:04:07:
- closedate changed to: "2004-10-30T18:04:07"
- closer changed to: "kennykb"
- resolution changed to: "Accepted"
- status changed to: "Closed"