summaryrefslogtreecommitdiff
path: root/cppe/include
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-05-03 12:37:27 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-05-03 12:37:27 +0000
commit23dc847ca8457ebb0dd60d7bded53c14d97f47af (patch)
tree7ec00656d05fab426505f378044c5af918789d57 /cppe/include
parentExport wstringDisabled on Win32 (diff)
downloadice-23dc847ca8457ebb0dd60d7bded53c14d97f47af.tar.bz2
ice-23dc847ca8457ebb0dd60d7bded53c14d97f47af.tar.xz
ice-23dc847ca8457ebb0dd60d7bded53c14d97f47af.zip
Bug 2164
Diffstat (limited to 'cppe/include')
-rw-r--r--cppe/include/IceE/Config.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/cppe/include/IceE/Config.h b/cppe/include/IceE/Config.h
index 0e4cd6ac2eb..ec119b96b56 100644
--- a/cppe/include/IceE/Config.h
+++ b/cppe/include/IceE/Config.h
@@ -13,23 +13,23 @@
//
// Uncomment if you want to build with Router support.
//
-//#define ICEE_HAS_ROUTER
+#define ICEE_HAS_ROUTER
//
// Uncomment if you want to build with Locator support.
//
-//#define ICEE_HAS_LOCATOR
+#define ICEE_HAS_LOCATOR
//
// Uncomment if you want to build with batch mode on the client side.
//
-//#define ICEE_HAS_BATCH
+#define ICEE_HAS_BATCH
//
// Uncomment if you want to build with wstring and string converter
// support.
//
-//#define ICEE_HAS_WSTRING
+#define ICEE_HAS_WSTRING
//
// Comment this out if want the pure client library built with both
@@ -37,7 +37,7 @@
// If uncommented, only blocking support will be included in client
// library.
//
-#define ICEE_PURE_BLOCKING_CLIENT
+//#define ICEE_PURE_BLOCKING_CLIENT
// ***********************************************************************
//
@@ -337,6 +337,12 @@ typedef IceUtil::Int64 Long;
typedef float Float;
typedef double Double;
+#ifdef ICEE_HAS_WSTRING
+typedef std::wstring Wstring;
+#else
+typedef std::string Wstring;
+#endif
+
}
// TODO: Should not be inline, this is not performance critical.