From a3d40a29fc10e67c4a1b7cbd7fd519da030167af Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 2 Oct 2005 22:39:56 +0000 Subject: (svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc) Fix warning in graph_gui.c with const problem --- functions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions.h') diff --git a/functions.h b/functions.h index 52abb297b..d5fcd6c50 100644 --- a/functions.h +++ b/functions.h @@ -131,8 +131,8 @@ uint InteractiveRandomRange(uint max); // Used for profiling -#define TIC() { extern uint32 rdtsc(void); uint32 _xxx_ = rdtsc(); static float __avg__; -#define TOC(s) _xxx_ = rdtsc() - _xxx_; __avg__=__avg__*0.99+_xxx_*0.01; printf("%s: %8d %f\n", s, _xxx_,__avg__); } +#define TIC() { extern uint32 _rdtsc(void); uint32 _xxx_ = _rdtsc(); static float __avg__; +#define TOC(s) _xxx_ = _rdtsc() - _xxx_; __avg__=__avg__*0.99+_xxx_*0.01; printf("%s: %8d %f\n", s, _xxx_,__avg__); } void SetDate(uint date); -- cgit v1.2.3-70-g09d2