Patch #1733960: Allow T_LONGLONG to accept ints.
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 20201d0..6c925cf 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -234,6 +234,9 @@
#define COMPILER "[gcc]"
#define hypot _hypot
#define PY_LONG_LONG long long
+#define PY_LLONG_MIN LLONG_MIN
+#define PY_LLONG_MAX LLONG_MAX
+#define PY_ULLONG_MAX ULLONG_MAX
#endif /* GNUC */
/* ------------------------------------------------------------------------*/
@@ -259,6 +262,9 @@
#define HAVE_LONG_LONG 1
#ifndef PY_LONG_LONG
# define PY_LONG_LONG __int64
+# define PY_LLONG_MAX LLONG_MAX
+# define PY_LLONG_MIN LLONG_MIN
+# define PY_ULLONG_MAX ULLONG_MAX
#endif
/* For Windows the Python core is in a DLL by default. Test