summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gobject/pygobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index 056d3e3..2ccd047 100644
--- a/gobject/pygobject.h
+++ b/gobject/pygobject.h
@@ -10,7 +10,7 @@
G_BEGIN_DECLS
/* Work around bugs in PyGILState api fixed in 2.4.0a4 */
-#if PY_HEXVERSION < 0x020400A4
+#if PY_VERSION_HEX < 0x020400A4
#define PYGIL_API_IS_BUGGY TRUE
#else
#define PYGIL_API_IS_BUGGY FALSE