Fixing building with python bindings under MacOS and MingW
authorfmoatamr
Mon, 07 Dec 2009 19:16:52 +0100
changeset 5838 eb5b9d295192
parent 5837 0328056e7faa
child 5839 569f16c35f46
Fixing building with python bindings under MacOS and MingW
bindings/python/ns3modulegen.py
--- a/bindings/python/ns3modulegen.py	Mon Dec 07 11:14:58 2009 +0100
+++ b/bindings/python/ns3modulegen.py	Mon Dec 07 19:16:52 2009 +0100
@@ -138,6 +138,7 @@
     if 'EmuNetDevice' not in enabled_features:
         for clsname in ['EmuNetDevice', 'EmuHelper']:
             root_module.classes.remove(root_module['ns3::%s' % clsname])
+        root_module.enums.remove(root_module['ns3::EmuNetDevice::EncapsulationMode'])
 
     if 'RealTime' not in enabled_features:
         for clsname in ['WallClockSynchronizer', 'RealtimeSimulatorImpl']: