shithub: opus

Download patch

ref: cb66cb39703ae4199241931f7e0b3d92bbef3947
parent: 6bae366f9fef25191fc812c430e8abd40a13a233
author: Nirbheek Chauhan <[email protected]>
date: Sat Jul 18 07:19:55 EDT 2020

silk: Fix incorrect ifdef in debug.c

Signed-off-by: Mark Harris <[email protected]>

--- a/silk/debug.c
+++ b/silk/debug.c
@@ -37,8 +37,6 @@
 
 #if SILK_TIC_TOC
 
-#ifdef _WIN32
-
 #if (defined(_WIN32) || defined(_WINCE))
 #include <windows.h>    /* timer */
 #else   /* Linux or Mac*/
@@ -45,6 +43,7 @@
 #include <sys/time.h>
 #endif
 
+#ifdef _WIN32
 unsigned long silk_GetHighResolutionTime(void) /* O  time in usec*/
 {
     /* Returns a time counter in microsec   */