X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/blobdiff_plain/c6a36308d930f04e4cce57b319d9ea6628fc3f4c..a144ac2dc016d261f8e8b1d9bf1f95419a9bb2e8:/catacomb.c 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;