diff options
Diffstat (limited to 'cppe/src/IceE/Outgoing.cpp')
-rw-r--r-- | cppe/src/IceE/Outgoing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cppe/src/IceE/Outgoing.cpp b/cppe/src/IceE/Outgoing.cpp index 15544e45aee..fadd564fd90 100644 --- a/cppe/src/IceE/Outgoing.cpp +++ b/cppe/src/IceE/Outgoing.cpp @@ -51,7 +51,7 @@ IceInternal::Outgoing::Outgoing(Connection* connection, Reference* ref, const st break; } -#ifndef ICEE_NO_BATCH +#ifdef ICEE_HAS_BATCH case Reference::ModeBatchOneway: { _connection->prepareBatchRequest(&_os); @@ -230,7 +230,7 @@ IceInternal::Outgoing::invoke() break; } -#ifndef ICEE_NO_BATCH
+#ifdef ICEE_HAS_BATCH
case Reference::ModeBatchOneway: { // @@ -258,7 +258,7 @@ IceInternal::Outgoing::abort(const LocalException& ex) // notify the connection about that we give up ownership of the // batch stream. // -#ifndef ICEE_NO_BATCH +#ifdef ICEE_HAS_BATCH if(_reference->getMode() == Reference::ModeBatchOneway) { _connection->abortBatchRequest(); |