diff options
author | Josh Blum <josh@joshknows.com> | 2011-12-30 23:27:33 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-12-30 23:38:49 -0800 |
commit | a34559fc834cb7f9f25f0711bf26c5eeb269e734 (patch) | |
tree | 0c24a66146f1484ad4d7018b8fa8b7a802e66bad /host/lib | |
parent | d38b2dbe35deca5480d1dc9853013c7b11be3018 (diff) | |
download | uhd-a34559fc834cb7f9f25f0711bf26c5eeb269e734.tar.gz uhd-a34559fc834cb7f9f25f0711bf26c5eeb269e734.tar.bz2 uhd-a34559fc834cb7f9f25f0711bf26c5eeb269e734.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')
-rw-r--r-- | host/lib/utils/thread_priority.cpp | 4 |
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 */ |