summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 6936d65..314fbf1 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -247,6 +247,9 @@ typedef int pid_t;
#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 */
/* ------------------------------------------------------------------------*/
@@ -272,6 +275,9 @@ typedef int pid_t;
#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_MIN ULLONG_MIN
#endif
/* For Windows the Python core is in a DLL by default. Test