summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-26 15:56:04 -0800
committerJosh Blum <josh@joshknows.com>2010-03-26 15:56:04 -0800
commit72927d983f1f84127e83bf2d80db6b8ee882bad7 (patch)
tree7b06abec256e6e2d555462a8e37a17218451d834 /host/include
parentd1e67602d21bcf97dbea28206659f3ee1146cf4a (diff)
downloaduhd-72927d983f1f84127e83bf2d80db6b8ee882bad7.tar.gz
uhd-72927d983f1f84127e83bf2d80db6b8ee882bad7.tar.bz2
uhd-72927d983f1f84127e83bf2d80db6b8ee882bad7.zip
library loading on windows, status message tweaks, warning tweaks
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/config.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/host/include/uhd/config.hpp b/host/include/uhd/config.hpp
index 10f9c093f..8e30a8333 100644
--- a/host/include/uhd/config.hpp
+++ b/host/include/uhd/config.hpp
@@ -35,8 +35,15 @@
# pragma warning(disable: 4275) // non dll-interface class ... used as base for dll-interface class ...
//# pragma warning(disable: 4267) // 'var' : conversion from 'size_t' to 'type', possible loss of data
//# pragma warning(disable: 4511) // 'class' : copy constructor could not be generated
-#endif
+#endif
+//define logical operators
+#ifdef BOOST_MSVC
+ #define not !
+ #define and &&
+ #define or ||
+#endif
+
// http://gcc.gnu.org/wiki/Visibility
// Generic helper definitions for shared library support
#if defined _WIN32 || defined __CYGWIN__