]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
sys_shared: Remove #ifdef for VERY old and obsolete compiler...
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jul 2020 02:44:15 +0000 (02:44 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jul 2020 02:44:15 +0000 (02:44 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12806 d7cf8633-e32d-0410-b094-e92efae38249

sys_shared.c

index 81e25e006bb7045b4a1dcf795aaf01adce8bee64..6b3f8c5a5a8b1b93340b92b86b0fb20b5b243c79 100644 (file)
@@ -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
                {