summaryrefslogtreecommitdiffstats
path: root/Modules/hashlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/hashlib.h')
-rw-r--r--Modules/hashlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/hashlib.h b/Modules/hashlib.h
index 25b2aaa..7105e68 100644
--- a/Modules/hashlib.h
+++ b/Modules/hashlib.h
@@ -58,7 +58,7 @@
PyMutex_Unlock(&(obj)->mutex); \
}
-#ifdef Py_NOGIL
+#ifdef Py_GIL_DISABLED
#define HASHLIB_INIT_MUTEX(obj) \
do { \
(obj)->mutex = (PyMutex){0}; \