diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-18 14:46:57 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-18 14:46:57 +0000 |
commit | 2de495754c224f6c5fef4c202be81cf9f24bda6d (patch) | |
tree | 8a153f75d24851c14cf2a57de7e9ae113df950a8 /cppe/demo/IceE/chat/Client.cpp | |
parent | Fixed Pure client lib build and chat demo build (diff) | |
download | ice-2de495754c224f6c5fef4c202be81cf9f24bda6d.tar.bz2 ice-2de495754c224f6c5fef4c202be81cf9f24bda6d.tar.xz ice-2de495754c224f6c5fef4c202be81cf9f24bda6d.zip |
Fixed ICEE_HAS_ROUTER build
Diffstat (limited to 'cppe/demo/IceE/chat/Client.cpp')
-rwxr-xr-x | cppe/demo/IceE/chat/Client.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cppe/demo/IceE/chat/Client.cpp b/cppe/demo/IceE/chat/Client.cpp index d6be7d58b39..3a92b42a0d2 100755 --- a/cppe/demo/IceE/chat/Client.cpp +++ b/cppe/demo/IceE/chat/Client.cpp @@ -12,6 +12,8 @@ #include <Router.h> #include <Chat.h> +#ifdef ICEE_HAS_ROUTER + using namespace std; using namespace Ice; using namespace Demo; @@ -188,3 +190,14 @@ main(int argc, char* argv[]) return status; } + +#else + +int +main(int argc, char* argv[]) +{ + fprintf(stderr, "This demo requires Ice-E be built with router support enabled.\n"); + return -1; +} + +#endif |