From: <sv...@ww...> - 2004-06-28 17:27:50
|
Author: delta Date: 2004-06-28 10:27:43 -0700 (Mon, 28 Jun 2004) New Revision: 1090 Modified: trunk/CSP/SimData/Include/SimData/Timing.h trunk/CSP/SimData/Include/SimData/Trace.h Log: Fixes for vc++ .net. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1090 Modified: trunk/CSP/SimData/Include/SimData/Timing.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Timing.h 2004-06-28 03:31:08 UTC (rev 1089) +++ trunk/CSP/SimData/Include/SimData/Timing.h 2004-06-28 17:27:43 UTC (rev 1090) @@ -27,6 +27,7 @@ #ifndef __SIMDATA_TIMING_H__ #define __SIMDATA_TIMING_H__ +#include <SimData/Export.h> #include <SimData/Namespace.h> @@ -42,18 +43,18 @@ /** Start the timer. */ -void tstart(void); +void SIMDATA_EXPORT tstart(void); /** Stop the timer. */ -void tend(void); +void SIMDATA_EXPORT tend(void); /** Get the time interval (in seconds) between last calls to tstart() * and tend(). * * The precision should be about 1-2 ms on most platforms. */ -double tval(); +double SIMDATA_EXPORT tval(); /** Return the current time in seconds. * Modified: trunk/CSP/SimData/Include/SimData/Trace.h =================================================================== --- trunk/CSP/SimData/Include/SimData/Trace.h 2004-06-28 03:31:08 UTC (rev 1089) +++ trunk/CSP/SimData/Include/SimData/Trace.h 2004-06-28 17:27:43 UTC (rev 1090) @@ -105,9 +105,10 @@ */ class Trace: public TraceBase { +public: + #ifdef __GNUC__ -public: static void StackDump(std::ostream &out, int skip=0) { void *trace[64]; char **messages = (char **)NULL; |