Overview
| Artifact ID: | 08fa1ee1847e80c2039d13ce4f72731bc3708f6a |
|---|---|
| Ticket: | 565088ffffffffffffffffffffffffffffffffff
Bring tcl.h into the 1990s |
| User & Date: | jenglish on 2002-06-07 22:40:08 |
Changes
- icomment:
Logged In: YES user_id=68433 Other changes: In r1.8 of tcl.h, the definition of STRINGIFY: #define STRINGIFY(x) STRINGIFY1(x) #define STRINGIFY1(x) #x was replaced with a messy #ifdef chain. The current version uses the above (correct) definition when _MSC_VER or RESOURCE_INCLUDED is defined, an incorrect version if __STDC__ is defined, and a fourth version (which may or may not work on older compilers -- this wasn't possible to do portably pre-ANSI). It also added a JOIN() macro, which is not used anywhere in the core. STRINGIFY() appears in two places (win/tclWinPipe.c, win/tcl.rc). I plan to revert to the older definition. (On the tcl'ers chat, Jeff said this would be OK.) I also plan to remove references to <sys/type.h>: this was added as part of the TIP 72 implementation, but it turns out not to be needed (confirmed by DKF [private email], who added it initially), and causes problems compiling on non-POSIX systems. (<sys/types.h> is a POSIX header file that defines various typedefs like dev_t, pid_t, ino_t, etc., none of which are used elsewhere).
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"