~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47061e3
)
catacomb.c: Use a less awful version comparison.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 20 Oct 2019 20:03:38 +0000
(21:03 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:43:08 +0000
(17:43 +0000)
catacomb.c
patch
|
blob
|
blame
|
history
diff --git
a/catacomb.c
b/catacomb.c
index
750b429
..
478a20a
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;