diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-04-17 03:15:58 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-04-17 03:15:58 +0000 |
commit | 3176b44a88bfe6058159d5a24d160f57e960615c (patch) | |
tree | cb3ed89fa04355aec4433687b9a6dc81528cbd31 /cpp/test | |
parent | file FactoryTableDef.cpp was initially added on branch slicing. (diff) | |
download | ice-3176b44a88bfe6058159d5a24d160f57e960615c.tar.bz2 ice-3176b44a88bfe6058159d5a24d160f57e960615c.tar.xz ice-3176b44a88bfe6058159d5a24d160f57e960615c.zip |
Macro reorg/cleanup
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/Freeze/dbmap/Client.cpp | 9 |
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; |