From 4f31e5f5602e943d9f819fad462447bf22f69733 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Fri, 24 Jan 2014 14:05:47 +0100 Subject: rtl_fm/rtl_test: fix build with MSVC after recent changes Signed-off-by: Steve Markgraf --- src/rtl_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rtl_test.c') diff --git a/src/rtl_test.c b/src/rtl_test.c index 571614c..987bb59 100644 --- a/src/rtl_test.c +++ b/src/rtl_test.c @@ -149,6 +149,7 @@ static void ppm_clock_init(void) #endif } +#ifndef _WIN32 static int ppm_report(void) { int real_rate; @@ -158,6 +159,7 @@ static int ppm_report(void) real_rate = (int)(ppm_total * 1000000000L / ns); return (int)round((double)(1000000 * (real_rate - (int)samp_rate)) / (double)samp_rate); } +#endif static void ppm_test(uint32_t len) { -- cgit v1.2.3