From 598327e56b4c57b391881c30f52f068e611552ba Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 20 Oct 2019 21:03:38 +0100 Subject: [PATCH] catacomb.c: Use a less awful version comparison. --- catacomb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catacomb.c b/catacomb.c index bf68727..b54227f 100644 --- a/catacomb.c +++ b/catacomb.c @@ -158,7 +158,7 @@ static PyMethodDef methods[] = { static void init_random(void) { -#if PY_MAJOR_VERSION >= 3 || (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 6) +#if PY_VERSION_HEX >= 0x02060000 char *seed; uint32 r; -- 2.11.0