summaryrefslogtreecommitdiffstats
path: root/Include/import.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/import.h')
-rw-r--r--Include/import.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/import.h b/Include/import.h
index 4ab14d7..5463c0c 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -100,13 +100,8 @@ PyAPI_FUNC(int) PyImport_ImportFrozenModule(
);
#ifndef Py_LIMITED_API
-#ifdef WITH_THREAD
PyAPI_FUNC(void) _PyImport_AcquireLock(void);
PyAPI_FUNC(int) _PyImport_ReleaseLock(void);
-#else
-#define _PyImport_AcquireLock()
-#define _PyImport_ReleaseLock() 1
-#endif
PyAPI_FUNC(void) _PyImport_ReInitLock(void);