File tree 1 file changed +0
-4
lines changed 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -911,16 +911,13 @@ AsObj(PyObject *value)
911
911
if (PyLong_CheckExact (value )) {
912
912
int overflow ;
913
913
long longValue ;
914
- #ifdef TCL_WIDE_INT_TYPE
915
914
Tcl_WideInt wideValue ;
916
- #endif
917
915
longValue = PyLong_AsLongAndOverflow (value , & overflow );
918
916
if (!overflow ) {
919
917
return Tcl_NewLongObj (longValue );
920
918
}
921
919
/* If there is an overflow in the long conversion,
922
920
fall through to wideInt handling. */
923
- #ifdef TCL_WIDE_INT_TYPE
924
921
if (_PyLong_AsByteArray ((PyLongObject * )value ,
925
922
(unsigned char * )(void * )& wideValue ,
926
923
sizeof (wideValue ),
@@ -929,7 +926,6 @@ AsObj(PyObject *value)
929
926
return Tcl_NewWideIntObj (wideValue );
930
927
}
931
928
PyErr_Clear ();
932
- #endif
933
929
/* If there is an overflow in the wideInt conversion,
934
930
fall through to bignum handling. */
935
931
return asBignumObj (value );
You can’t perform that action at this time.
0 commit comments