From 54f375a468d860b3698dc8f45b1059c852318396 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Wed, 15 Jul 2020 02:44:15 +0000 Subject: [PATCH] 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 --- sys_shared.c | 5 ----- 1 file changed, 5 deletions(-) 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 { -- 2.39.2