diff options
author | Brent Eagles <brent@zeroc.com> | 2006-06-21 12:57:13 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2006-06-21 12:57:13 +0000 |
commit | 0eb3afe5890c3ccdd7aed0455462ae17e3466879 (patch) | |
tree | 24d6e260d3a37d1af1f7bb1265183b0ab7f309d0 /cpp/src/Ice/Network.cpp | |
parent | fix type compatibility issue on 64 bit platforms (diff) | |
download | ice-0eb3afe5890c3ccdd7aed0455462ae17e3466879.tar.bz2 ice-0eb3afe5890c3ccdd7aed0455462ae17e3466879.tar.xz ice-0eb3afe5890c3ccdd7aed0455462ae17e3466879.zip |
fix 64 bit issue with name resultions on sun
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index fff635e1f13..f341f3b79de 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -28,7 +28,7 @@ using namespace Ice; using namespace IceInternal; #ifdef __sun -# define INADDR_NONE (unsigned long)-1 +# define INADDR_NONE (in_addr_t)0xffffffff #endif static IceUtil::StaticMutex inetMutex = ICE_STATIC_MUTEX_INITIALIZER; |