Overview
| Artifact ID: | 93412e629b5f3e0286a431b3c32a221427d5b1f8 |
|---|---|
| Ticket: | 1831253fffffffffffffffffffffffffffffffff
tclWin32Dll.c not buildable w/VC6 |
| User & Date: | davygrvy on 2007-11-13 18:41:55 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
Compiler error: ..\win\tclWin32Dll.c(557) : error C2065: 'DWORD_PTR' : undeclared identifier Line in the source is: || ((DWORD_PTR)&tsdPtr < (DWORD_PTR)tsdPtr->stackBound)) { VC5 does not have the define of DWORD_PTR in its basetsd.h. Stealing the define tree of it from the platformSDK got rather "branchy". I punted with this, but I don't know if it's correct (enough). Index: tclWin32Dll.c =================================================================== RCS file: /cvsroot/tcl/tcl/win/tclWin32Dll.c,v retrieving revision 1.52 diff -c -r1.52 tclWin32Dll.c *** tclWin32Dll.c10 Nov 2007 19:01:35 -00001.52 --- tclWin32Dll.c13 Nov 2007 18:41:15 -0000 *************** *** 15,20 **** --- 15,25 ---- #include "tclWinInt.h" + /* VC++ 5.x doesn't define this, so punt. */ + #ifndef DWORD_PTR + # define DWORD_PTR DWORD + #endif + #ifndef TCL_NO_STACK_CHECK /* * The following functions implement stack depth checking - foundin changed to: "obsolete: 8.5b3"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "davygrvy"
- subsystem changed to: "52. Portability Support"
- title changed to: "tclWin32Dll.c not buildable w/VC5"
- type changed to: "Bug"