Diff

Differences From Artifact [6b6b71d2f2]:

To Artifact [08eeb039c3]:


47
48
49
50
51
52
53
54
55




56
57
58
59



60
61
62
63
64




65
66
67
68
69
70
71
47
48
49
50
51
52
53


54
55
56
57
58



59
60
61
62




63
64
65
66
67
68
69
70
71
72
73







-
-
+
+
+
+

-
-
-
+
+
+

-
-
-
-
+
+
+
+







#   endif
#endif

/*
 * Backwards compatibility for size type change
 */
#if TCL_MAJOR_VERSION < 9 && TCL_MINOR_VERSION < 7
    #include <limits.h>
    #define TCL_SIZE_MAX INT_MAX
#include <limits.h>
#ifndef TCL_SIZE_MAX
#define TCL_SIZE_MAX INT_MAX
#endif

    #ifndef Tcl_Size
        typedef int Tcl_Size;
    #endif
#ifndef Tcl_Size
    typedef int Tcl_Size;
#endif

    #define TCL_SIZE_MODIFIER ""
    #define Tcl_GetSizeIntFromObj Tcl_GetIntFromObj
    #define Tcl_NewSizeIntObj     Tcl_NewIntObj
    #define Tcl_NewSizeIntFromObj Tcl_NewWideIntObj
#define TCL_SIZE_MODIFIER ""
#define Tcl_GetSizeIntFromObj Tcl_GetIntFromObj
#define Tcl_NewSizeIntObj     Tcl_NewIntObj
#define Tcl_NewSizeIntFromObj Tcl_NewWideIntObj
#endif

/* Define missing POSIX error codes */
#ifndef ECONNABORTED
#define ECONNABORTED	130	/* Software caused connection abort */
#endif
#ifndef ECONNRESET