aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtl_test.c
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2014-01-24 14:05:47 +0100
committerSteve Markgraf <steve@steve-m.de>2014-01-24 14:05:47 +0100
commit4f31e5f5602e943d9f819fad462447bf22f69733 (patch)
tree930b5dafac1cbf58d6905da731758bfd0771a4a7 /src/rtl_test.c
parentad4a029405168cbe37dd4d3c249a236cb4b643df (diff)
rtl_fm/rtl_test: fix build with MSVC after recent changes
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/rtl_test.c')
-rw-r--r--src/rtl_test.c2
1 files changed, 2 insertions, 0 deletions
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)
{