aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2015-06-01 22:24:32 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2015-06-01 22:24:32 +0200
commitf33f30815a7b9494315d4782245447ebca21c02e (patch)
tree39e951643a6f4a05d58b5c38df0a5f14b8508d51
parent2bcd86e55e92711f4d14d0acd25b79691f9b9520 (diff)
hackrf: use #ifdef just like in hackrf_sink_c
-rw-r--r--lib/hackrf/hackrf_source_c.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hackrf/hackrf_source_c.cc b/lib/hackrf/hackrf_source_c.cc
index 13df11e..81ddad6 100644
--- a/lib/hackrf/hackrf_source_c.cc
+++ b/lib/hackrf/hackrf_source_c.cc
@@ -401,7 +401,7 @@ std::vector<std::string> hackrf_source_c::get_devices()
_usage++;
}
-#if LIBHACKRF_HAVE_DEVICE_LIST
+#ifdef LIBHACKRF_HAVE_DEVICE_LIST
hackrf_device_list_t *list = hackrf_device_list();
for (unsigned int i = 0; i < list->devicecount; i++) {