summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-09-01 20:47:15 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-09-01 20:47:15 +0000
commit03c79fe31e174a8c9b26dfe8cc3cb3c47030dff0 (patch)
treed65a6627b57ee4dd6141524ad8569809f840caab /cpp/include
parentd80effa42df23ba408c221355de1d1d1bb21193e (diff)
downloadqpid-python-03c79fe31e174a8c9b26dfe8cc3cb3c47030dff0.tar.gz
Revisit fix for QPID-1737: (clash with Win32 symbol)
Change all use of STATUS_INVALID_PARAMETER to STATUS_PARAMETER_INVALID git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810227 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/management/Manageable.h2
-rwxr-xr-xcpp/include/qpid/sys/windows/Condition.h1
-rwxr-xr-xcpp/include/qpid/sys/windows/Mutex.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/cpp/include/qpid/management/Manageable.h b/cpp/include/qpid/management/Manageable.h
index 8062479ac6..7a72cc1592 100644
--- a/cpp/include/qpid/management/Manageable.h
+++ b/cpp/include/qpid/management/Manageable.h
@@ -43,7 +43,7 @@ class QPID_COMMON_EXTERN Manageable
static const status_t STATUS_UNKNOWN_OBJECT = 1;
static const status_t STATUS_UNKNOWN_METHOD = 2;
static const status_t STATUS_NOT_IMPLEMENTED = 3;
- static const status_t STATUS_INVALID_PARAMETER = 4;
+ static const status_t STATUS_PARAMETER_INVALID = 4;
static const status_t STATUS_FEATURE_NOT_IMPLEMENTED = 5;
static const status_t STATUS_FORBIDDEN = 6;
static const status_t STATUS_EXCEPTION = 7;
diff --git a/cpp/include/qpid/sys/windows/Condition.h b/cpp/include/qpid/sys/windows/Condition.h
index c31f7b4823..979fae9b0a 100755
--- a/cpp/include/qpid/sys/windows/Condition.h
+++ b/cpp/include/qpid/sys/windows/Condition.h
@@ -30,7 +30,6 @@
#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/include/qpid/sys/windows/Mutex.h b/cpp/include/qpid/sys/windows/Mutex.h
index 12768640d5..5dcc69e836 100755
--- a/cpp/include/qpid/sys/windows/Mutex.h
+++ b/cpp/include/qpid/sys/windows/Mutex.h
@@ -31,7 +31,6 @@
#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 {