diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-08-09 14:58:01 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-08-09 14:58:01 +0000 |
commit | 3f862089b748741b30e343d2051a4747a3bff2f2 (patch) | |
tree | 18d1dde1504e2d510a24f4d55aeee21bfea7c04f /cpp/src/Ice/Protocol.cpp | |
parent | fixing bug 1291 (diff) | |
download | ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.bz2 ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.xz ice-3f862089b748741b30e343d2051a4747a3bff2f2.zip |
Borland C++Builder port mass commit
Diffstat (limited to 'cpp/src/Ice/Protocol.cpp')
-rw-r--r-- | cpp/src/Ice/Protocol.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/Protocol.cpp b/cpp/src/Ice/Protocol.cpp index e405673ec4f..53a6e2bc96d 100644 --- a/cpp/src/Ice/Protocol.cpp +++ b/cpp/src/Ice/Protocol.cpp @@ -14,7 +14,11 @@ namespace IceInternal const Ice::Byte magic[] = { 0x49, 0x63, 0x65, 0x50 }; // 'I', 'c', 'e', 'P' +#ifdef __BCPLUSPLUS__ +const Ice::Byte requestHdr[headerSize + sizeof(Ice::Int)] = +#else const Ice::Byte requestHdr[] = +#endif { magic[0], magic[1], @@ -30,7 +34,11 @@ const Ice::Byte requestHdr[] = 0, 0, 0, 0 // Request id (placeholder) }; +#ifdef __BCPLUSPLUS__ +const Ice::Byte requestBatchHdr[headerSize + sizeof(Ice::Int)] = +#else const Ice::Byte requestBatchHdr[] = +#endif { magic[0], magic[1], |