From ff007127cfc9b423cbb490f48863607f15fc9ac0 Mon Sep 17 00:00:00 2001 From: fmoatamr Date: Tue, 8 Dec 2009 11:07:00 +0100 Subject: [PATCH] Fixing building with python bindings under MingW --- bindings/python/ns3modulegen.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/python/ns3modulegen.py b/bindings/python/ns3modulegen.py index 27dbd6c24..b29bd2d34 100755 --- a/bindings/python/ns3modulegen.py +++ b/bindings/python/ns3modulegen.py @@ -131,10 +131,9 @@ def main(): pass if 'Threading' not in enabled_features: - for clsname in ['SystemThread', 'SystemMutex', 'SystemCondition', 'CriticalSection']: + for clsname in ['SystemThread', 'SystemMutex', 'SystemCondition', 'CriticalSection', 'SimpleRefCount< ns3::SystemThread, ns3::empty >']: root_module.classes.remove(root_module['ns3::%s' % clsname]) - if 'EmuNetDevice' not in enabled_features: for clsname in ['EmuNetDevice', 'EmuHelper']: root_module.classes.remove(root_module['ns3::%s' % clsname])