Changeset: a16581586d7c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a16581586d7c
Modified Files:
        sql/backends/monet5/UDF/pyapi3/pyheader.h
        sql/backends/monet5/UDF/pyapi3/type_conversion3.c
Branch: Sep2022
Log Message:

Merge with Jan2022 branch.


diffs (12 lines):

diff --git a/sql/backends/monet5/UDF/pyapi3/type_conversion3.c 
b/sql/backends/monet5/UDF/pyapi3/type_conversion3.c
--- a/sql/backends/monet5/UDF/pyapi3/type_conversion3.c
+++ b/sql/backends/monet5/UDF/pyapi3/type_conversion3.c
@@ -56,7 +56,7 @@ PyObject *PyLong_FromHge(hge h)
                z->ob_digit[i] = result;
        }
        if (h < 0) {
-#if PY_MINOR_VERSION >= 9
+#ifdef Py_SET_SIZE
                Py_SET_SIZE(z, -Py_SIZE(z));
 #else
                Py_SIZE(z) = -(Py_SIZE(z));
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to