summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/dbmap/Client.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-04-17 03:15:58 +0000
committerBernard Normier <bernard@zeroc.com>2003-04-17 03:15:58 +0000
commit3176b44a88bfe6058159d5a24d160f57e960615c (patch)
treecb3ed89fa04355aec4433687b9a6dc81528cbd31 /cpp/test/Freeze/dbmap/Client.cpp
parentfile FactoryTableDef.cpp was initially added on branch slicing. (diff)
downloadice-3176b44a88bfe6058159d5a24d160f57e960615c.tar.bz2
ice-3176b44a88bfe6058159d5a24d160f57e960615c.tar.xz
ice-3176b44a88bfe6058159d5a24d160f57e960615c.zip
Macro reorg/cleanup
Diffstat (limited to 'cpp/test/Freeze/dbmap/Client.cpp')
-rw-r--r--cpp/test/Freeze/dbmap/Client.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/test/Freeze/dbmap/Client.cpp b/cpp/test/Freeze/dbmap/Client.cpp
index ba04554b6cb..bc9d3caeac5 100644
--- a/cpp/test/Freeze/dbmap/Client.cpp
+++ b/cpp/test/Freeze/dbmap/Client.cpp
@@ -24,9 +24,12 @@ using namespace std;
using namespace Ice;
using namespace Freeze;
-// The following variable is extern instead of static due to
-// a Sun C++ 5.4 template bug
-extern Byte alphabetChars[] = "abcdefghijklmnopqrstuvwxyz";
+#ifdef __SUNPRO_CC
+extern
+#else
+static
+#endif
+Byte alphabetChars[] = "abcdefghijklmnopqrstuvwxyz";
vector<Byte> alphabet;