src/simulator/realtime-simulator-impl.h
changeset 3561 e388935fa948
parent 3560 5aa65b1ea001
child 3565 e0a429cb5811
--- a/src/simulator/realtime-simulator-impl.h	Tue Aug 26 15:34:57 2008 -0700
+++ b/src/simulator/realtime-simulator-impl.h	Tue Aug 26 23:11:11 2008 -0700
@@ -113,6 +113,8 @@
   RealtimeEventLock m_eventLock;
 
   Ptr<Synchronizer> m_synchronizer;
+
+#ifdef PERMIT_WALLCLOCK_SIMULATION_TIME
   /*
    * In calls to Simulator::Now we have a basic choice to make.  We can either
    * report back the time the simulator thinks it should be, or we can report 
@@ -136,6 +138,7 @@
    * variations in host process scheduling, for example.
    */
   bool m_reportSimulatedTime;
+#endif
 
   /**
    * The policy to use if the simulation cannot keep synchronized to real-time.