X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/189dd45f9ed37cedbeea8a30f8dcd7c4dc751b3f..58666e81f41fba392849a8dce3ca0b6bb8944743:/catacomb.c diff --git a/catacomb.c b/catacomb.c index 750b429..478a20a 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;