Tk Source Code

Check-in [038983f7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:workaround attempt for win64 problem?????
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 038983f7558617998319c15f3a70afdbc82f9b56
User & Date: jan.nijtmans 2012-03-14 23:08:19
Context
2012-03-15
20:10
[bug 3505358 ] invalid color name "#f75df642f527" check-in: 7518016c user: jan.nijtmans tags: core-8-4-branch
2012-03-14
23:08
workaround attempt for win64 problem????? check-in: 038983f7 user: jan.nijtmans tags: core-8-4-branch
2012-03-13
08:58
missing include <stdlib.h> check-in: 73e407b6 user: jan.nijtmans tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to xlib/xcolors.c.

851
852
853
854
855
856
857

858
859
860
861
862
863
864
 *
 *----------------------------------------------------------------------
 */

#ifdef __WIN32__
#   ifdef NO_STRTOI64
/* This version only handles hex-strings without 0x prefix */

static __int64
_strtoi64(const char *spec, char **p, int base)
{
    __int64 result = 0;
    char c;
    while ((c = *spec)) {
	if ((c >= '0') && (c <= '9')) {







>







851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
 *
 *----------------------------------------------------------------------
 */

#ifdef __WIN32__
#   ifdef NO_STRTOI64
/* This version only handles hex-strings without 0x prefix */
#define _strtoi64 something_out_of_the_way /* workaround for win64 problem ??? */
static __int64
_strtoi64(const char *spec, char **p, int base)
{
    __int64 result = 0;
    char c;
    while ((c = *spec)) {
	if ((c >= '0') && (c <= '9')) {