summaryrefslogtreecommitdiff
path: root/silk
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-07-18 11:19:55 +0530
committerMark Harris <mark.hsj@gmail.com>2020-08-21 23:33:21 -0700
commitcb66cb39703ae4199241931f7e0b3d92bbef3947 (patch)
treef9b9dee524bb8cbbce05e965f2bb08f8f14761ef /silk
parent6bae366f9fef25191fc812c430e8abd40a13a233 (diff)
downloadopus-cb66cb39703ae4199241931f7e0b3d92bbef3947.tar.gz
silk: Fix incorrect ifdef in debug.c
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Diffstat (limited to 'silk')
-rw-r--r--silk/debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/silk/debug.c b/silk/debug.c
index 71e69cc6..4f02912b 100644
--- a/silk/debug.c
+++ b/silk/debug.c
@@ -37,14 +37,13 @@ POSSIBILITY OF SUCH DAMAGE.
#if SILK_TIC_TOC
-#ifdef _WIN32
-
#if (defined(_WIN32) || defined(_WINCE))
#include <windows.h> /* timer */
#else /* Linux or Mac*/
#include <sys/time.h>
#endif
+#ifdef _WIN32
unsigned long silk_GetHighResolutionTime(void) /* O time in usec*/
{
/* Returns a time counter in microsec */