summaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-16 18:40:44 -0700
committerJosh Blum <josh@joshknows.com>2010-06-16 18:40:44 -0700
commit168ab7279cec925e3db3e943e35d0d2bd220d8b3 (patch)
tree6b86a586c332d2610ff2ae59ddda2a09c6ea7877 /host/lib/transport
parenta89d684ba2b81c6e18d348965dffb919edb56fea (diff)
downloaduhd-168ab7279cec925e3db3e943e35d0d2bd220d8b3.tar.gz
uhd-168ab7279cec925e3db3e943e35d0d2bd220d8b3.tar.bz2
uhd-168ab7279cec925e3db3e943e35d0d2bd220d8b3.zip
uhd: work on thread priority scheduling
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/if_addrs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/transport/if_addrs.cpp b/host/lib/transport/if_addrs.cpp
index 5c8c8a176..ad9a2325b 100644
--- a/host/lib/transport/if_addrs.cpp
+++ b/host/lib/transport/if_addrs.cpp
@@ -27,7 +27,7 @@ uhd::transport::if_addrs_t::if_addrs_t(void){
/***********************************************************************
* Interface address discovery through ifaddrs api
**********************************************************************/
-#ifdef HAVE_IFADDRS_H
+#if defined(HAVE_IFADDRS_H)
#include <ifaddrs.h>
static boost::asio::ip::address_v4 sockaddr_to_ip_addr(sockaddr *addr){
@@ -59,9 +59,9 @@ std::vector<uhd::transport::if_addrs_t> uhd::transport::get_if_addrs(void){
}
/***********************************************************************
- * Interface address discovery through windows api (TODO)
+ * Interface address discovery through windows api
**********************************************************************/
-#elif HAVE_WINSOCK2_H
+#elif defined(HAVE_WINSOCK2_H)
#include <winsock2.h>
std::vector<uhd::transport::if_addrs_t> uhd::transport::get_if_addrs(void){