From c25a49aac3425db6cb219aee4233aebb1e10bd9a Mon Sep 17 00:00:00 2001 From: fmoatamr Date: Mon, 7 Dec 2009 19:16:52 +0100 Subject: [PATCH] Fixing building with python bindings under MacOS and MingW --- bindings/python/ns3modulegen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/ns3modulegen.py b/bindings/python/ns3modulegen.py index 968bf649e..27dbd6c24 100755 --- a/bindings/python/ns3modulegen.py +++ b/bindings/python/ns3modulegen.py @@ -138,6 +138,7 @@ def main(): 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']: