From: cloudwalk Date: Wed, 15 Jul 2020 02:44:15 +0000 (+0000) Subject: sys_shared: Remove #ifdef for VERY old and obsolete compiler... X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;ds=sidebyside;h=54f375a468d860b3698dc8f45b1059c852318396;p=xonotic%2Fdarkplaces.git sys_shared: Remove #ifdef for VERY old and obsolete compiler... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12806 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sys_shared.c b/sys_shared.c index 81e25e00..6b3f8c5a 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -334,13 +334,8 @@ double Sys_DirtyTime(void) { QueryPerformanceCounter (&PerformanceCount); - #ifdef __BORLANDC__ - timescale = 1.0 / ((double) PerformanceFreq.u.LowPart + (double) PerformanceFreq.u.HighPart * 65536.0 * 65536.0); - return ((double) PerformanceCount.u.LowPart + (double) PerformanceCount.u.HighPart * 65536.0 * 65536.0) * timescale; - #else timescale = 1.0 / ((double) PerformanceFreq.LowPart + (double) PerformanceFreq.HighPart * 65536.0 * 65536.0); return ((double) PerformanceCount.LowPart + (double) PerformanceCount.HighPart * 65536.0 * 65536.0) * timescale; - #endif } else {