aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/thread_priority.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-12-30 23:27:33 -0800
committerJosh Blum <josh@joshknows.com>2011-12-30 23:27:33 -0800
commit6795022a23ac0f25183f3044aeba7cd549f50a67 (patch)
tree0d1e14cad88c6808973c0e3fdb2a24d52dd16022 /host/lib/utils/thread_priority.cpp
parentd9b4ab389c6a6aede94222fad233288676b22723 (diff)
downloaduhd-6795022a23ac0f25183f3044aeba7cd549f50a67.tar.gz
uhd-6795022a23ac0f25183f3044aeba7cd549f50a67.tar.bz2
uhd-6795022a23ac0f25183f3044aeba7cd549f50a67.zip
uhd: fixes that make uhd compile on freebsd
Fixes gcc version check in byteswap. Fixes typo in thread prio.
Diffstat (limited to 'host/lib/utils/thread_priority.cpp')
-rw-r--r--host/lib/utils/thread_priority.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/utils/thread_priority.cpp b/host/lib/utils/thread_priority.cpp
index 6d6ca5630..699c5168a 100644
--- a/host/lib/utils/thread_priority.cpp
+++ b/host/lib/utils/thread_priority.cpp
@@ -98,9 +98,9 @@ static void check_priority_range(float priority){
/***********************************************************************
* Unimplemented API to set priority
**********************************************************************/
-#ifdef HAVE_LOAD_MODULES_DUMMY
+#ifdef HAVE_THREAD_PRIO_DUMMY
void uhd::set_thread_priority(float, bool){
throw uhd::not_implemented_error("set thread priority not implemented");
}
-#endif /* HAVE_LOAD_MODULES_DUMMY */
+#endif /* HAVE_THREAD_PRIO_DUMMY */