[Lxml-checkins] r39208 - lxml/trunk/src/lxml

scoder at codespeak.net scoder at codespeak.net
Mon Feb 19 15:30:39 CET 2007


Author: scoder
Date: Mon Feb 19 15:30:39 2007
New Revision: 39208

Modified:
   lxml/trunk/src/lxml/etree_defs.h
Log:
fix: compilation failure when compiling without threads

Modified: lxml/trunk/src/lxml/etree_defs.h
==============================================================================
--- lxml/trunk/src/lxml/etree_defs.h	(original)
+++ lxml/trunk/src/lxml/etree_defs.h	Mon Feb 19 15:30:39 2007
@@ -28,11 +28,6 @@
   #define PyEval_RestoreThread(state)
   #define PyGILState_Ensure() (PyGILState_UNLOCKED)
   #define PyGILState_Release(state)
-
-  #define PyThread_allocate_lock() (NULL)
-  #define PyThread_free_lock(lock)
-  #define PyThread_acquire_lock(lock, mode) (1)
-  #define PyThread_release_lock(lock)
 #endif
 
 #ifdef WITHOUT_THREADING


More information about the lxml-checkins mailing list