chiark
/
gitweb
/
~mdw
/
pyke
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
catacomb.c: Use a less awful version comparison.
[pyke]
/
catacomb.c
diff --git
a/catacomb.c
b/catacomb.c
index bf68727bc4cb51d8e15e9b8319f599d7f87819e5..b54227f81301e28c96648d8be31ff3be4db350c3 100644
(file)
--- 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;