From acf00df486e6b26eef64066ea15bbf27b6184271 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Sat, 23 Jan 2010 19:06:19 +0000 Subject: [PATCH] Fix python bindings build when threading features are disabled (e.g. mingw) --- bindings/python/ns3modulegen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/ns3modulegen.py b/bindings/python/ns3modulegen.py index 6bbe41af7..3ab762be6 100755 --- a/bindings/python/ns3modulegen.py +++ b/bindings/python/ns3modulegen.py @@ -138,7 +138,8 @@ def main(): pass if 'Threading' not in enabled_features: - for clsname in ['SystemThread', 'SystemMutex', 'SystemCondition', 'CriticalSection', 'SimpleRefCount< ns3::SystemThread, ns3::empty >']: + for clsname in ['SystemThread', 'SystemMutex', 'SystemCondition', 'CriticalSection', + 'SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >']: root_module.classes.remove(root_module['ns3::%s' % clsname]) if 'EmuNetDevice' not in enabled_features: