code style

This commit is contained in:
Volker Fischer 2013-12-27 16:01:35 +00:00
parent 572cee0143
commit d3fce3fe62

View File

@ -72,13 +72,13 @@ signals:
}; };
#else #else
// using mach timers for Mac and nanosleep for Linux // using mach timers for Mac and nanosleep for Linux
#if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( __APPLE__ ) || defined ( __MACOSX )
# include <mach/mach.h> # include <mach/mach.h>
# include <mach/mach_error.h> # include <mach/mach_error.h>
# include <mach/mach_time.h> # include <mach/mach_time.h>
#else # else
# include <sys/time.h> # include <sys/time.h>
#endif # endif
class CHighPrecisionTimer : public QThread class CHighPrecisionTimer : public QThread
{ {
@ -96,13 +96,13 @@ protected:
bool bRun; bool bRun;
#if defined ( __APPLE__ ) || defined ( __MACOSX ) # if defined ( __APPLE__ ) || defined ( __MACOSX )
uint64_t Delay; uint64_t Delay;
uint64_t NextEnd; uint64_t NextEnd;
#else # else
long Delay; long Delay;
timespec NextEnd; timespec NextEnd;
#endif # endif
signals: signals:
void timeout(); void timeout();