summaryrefslogtreecommitdiffstats
path: root/host/lib/load_modules.cpp
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/load_modules.cpp
parenta89d684ba2b81c6e18d348965dffb919edb56fea (diff)
downloaduhd-168ab7279cec925e3db3e943e35d0d2bd220d8b3.tar.gz
uhd-168ab7279cec925e3db3e943e35d0d2bd220d8b3.tar.bz2
uhd-168ab7279cec925e3db3e943e35d0d2bd220d8b3.zip
uhd: work on thread priority scheduling
Diffstat (limited to 'host/lib/load_modules.cpp')
-rw-r--r--host/lib/load_modules.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/load_modules.cpp b/host/lib/load_modules.cpp
index d6bfe1369..dbb8d0695 100644
--- a/host/lib/load_modules.cpp
+++ b/host/lib/load_modules.cpp
@@ -30,7 +30,7 @@ namespace fs = boost::filesystem;
/***********************************************************************
* Module Load Function
**********************************************************************/
-#ifdef HAVE_DLFCN_H
+#if defined(HAVE_DLFCN_H)
#include <dlfcn.h>
static const std::string env_path_sep = ":";
@@ -42,7 +42,7 @@ static void load_module(const std::string &file_name){
}
}
-#elif HAVE_WINDOWS_H
+#elif defined(HAVE_WINDOWS_H)
#include <windows.h>
static const std::string env_path_sep = ";";