]> granicus.if.org Git - python/commitdiff
always define HAVE_LONG_LONG (#27961)
authorBenjamin Peterson <benjamin@python.org>
Mon, 19 Sep 2016 01:02:58 +0000 (18:02 -0700)
committerBenjamin Peterson <benjamin@python.org>
Mon, 19 Sep 2016 01:02:58 +0000 (18:02 -0700)
Include/pyport.h

index be1d66d5634bd1a0cbee3ae40f5ef954ff13526f..421b9549df4f03460681d10fb3ae7c8388d95abd 100644 (file)
@@ -37,6 +37,9 @@ Used in:  Py_SAFE_DOWNCAST
  * integral synonyms.  Only define the ones we actually need.
  */
 
+// long long is required now. Define HAVE_LONG_LONG unconditionally for
+// compatibility.
+#define HAVE_LONG_LONG
 #ifndef PY_LONG_LONG
 #define PY_LONG_LONG long long
 /* If LLONG_MAX is defined in limits.h, use that. */