diff options
Diffstat (limited to 'cpp/src/qpid/sys')
| -rwxr-xr-x | cpp/src/qpid/sys/windows/Condition.h | 1 | ||||
| -rwxr-xr-x | cpp/src/qpid/sys/windows/Mutex.h | 1 | ||||
| -rw-r--r-- | cpp/src/qpid/sys/windows/uuid.cpp | 5 | ||||
| -rw-r--r-- | cpp/src/qpid/sys/windows/uuid.h | 6 |
4 files changed, 8 insertions, 5 deletions
diff --git a/cpp/src/qpid/sys/windows/Condition.h b/cpp/src/qpid/sys/windows/Condition.h index 979fae9b0a..c31f7b4823 100755 --- a/cpp/src/qpid/sys/windows/Condition.h +++ b/cpp/src/qpid/sys/windows/Condition.h @@ -30,6 +30,7 @@ #include <boost/thread/condition.hpp> #include <boost/thread/thread_time.hpp> #include <windows.h> +#undef STATUS_INVALID_PARAMETER // Hack for windows.h namespace pollution namespace qpid { namespace sys { diff --git a/cpp/src/qpid/sys/windows/Mutex.h b/cpp/src/qpid/sys/windows/Mutex.h index 08de0712b9..b8d34de6d1 100755 --- a/cpp/src/qpid/sys/windows/Mutex.h +++ b/cpp/src/qpid/sys/windows/Mutex.h @@ -31,6 +31,7 @@ #include <boost/thread/shared_mutex.hpp> #include <boost/thread/thread_time.hpp> #include <boost/thread/tss.hpp> +#undef STATUS_INVALID_PARAMETER // Hack for windows.h namespace pollution namespace qpid { namespace sys { diff --git a/cpp/src/qpid/sys/windows/uuid.cpp b/cpp/src/qpid/sys/windows/uuid.cpp index 92f60e04b1..4d8184c703 100644 --- a/cpp/src/qpid/sys/windows/uuid.cpp +++ b/cpp/src/qpid/sys/windows/uuid.cpp @@ -19,6 +19,11 @@ * */ +#include <Rpc.h> +#ifdef uuid_t /* Done in rpcdce.h */ +# undef uuid_t +#endif + #include "uuid.h" #include <string.h> diff --git a/cpp/src/qpid/sys/windows/uuid.h b/cpp/src/qpid/sys/windows/uuid.h index 7d003c3739..c79abe95c6 100644 --- a/cpp/src/qpid/sys/windows/uuid.h +++ b/cpp/src/qpid/sys/windows/uuid.h @@ -22,13 +22,9 @@ * */ -#include <Rpc.h> #include "qpid/CommonImportExport.h" - -#ifdef uuid_t /* Done in rpcdce.h */ -# undef uuid_t -#endif #include <qpid/sys/IntegerTypes.h> + namespace qpid { namespace sys { const size_t UuidSize = 16; }} typedef uint8_t uuid_t[qpid::sys::UuidSize]; |
