diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-02-11 14:51:21 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-02-11 14:51:21 +0000 |
commit | 83d32d53391b00734d634662b6bdeecc8371391a (patch) | |
tree | 49db365b5eeae691767702012d4b258c268f842c /cpp/src | |
parent | Removed Glacier demo (diff) | |
download | ice-83d32d53391b00734d634662b6bdeecc8371391a.tar.bz2 ice-83d32d53391b00734d634662b6bdeecc8371391a.tar.xz ice-83d32d53391b00734d634662b6bdeecc8371391a.zip |
Solaris GCC port
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Freeze/Makefile | 1 | ||||
-rw-r--r-- | cpp/src/Ice/Network.cpp | 2 | ||||
-rw-r--r-- | cpp/src/IceUtil/CtrlCHandler.cpp | 7 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/Freeze/Makefile b/cpp/src/Freeze/Makefile index 62cac392f5e..ecf603ea855 100644 --- a/cpp/src/Freeze/Makefile +++ b/cpp/src/Freeze/Makefile @@ -18,7 +18,6 @@ TARGETS = $(call mklibtargets,$(libdir)/$(LIBFILENAME),$(libdir)/$(SONAME),$(li OBJS = CatalogData.o \ Catalog.o \ - ConnectionF.o \ ConnectionF.o \ ConnectionI.o \ Connection.o \ diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index 5ea6148ff47..c69a3eb0fcd 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -15,7 +15,7 @@ using namespace Ice; using namespace IceInternal; #ifdef __sun -# define INADDR_NONE -1 +# define INADDR_NONE (unsigned long)-1 #endif bool diff --git a/cpp/src/IceUtil/CtrlCHandler.cpp b/cpp/src/IceUtil/CtrlCHandler.cpp index 78b3e2ec298..11a7310eee1 100644 --- a/cpp/src/IceUtil/CtrlCHandler.cpp +++ b/cpp/src/IceUtil/CtrlCHandler.cpp @@ -7,13 +7,14 @@ // // ********************************************************************** +#ifdef __sun +# define _POSIX_PTHREAD_SEMANTICS +#endif + #include <IceUtil/CtrlCHandler.h> #include <IceUtil/StaticMutex.h> #ifndef _WIN32 -# ifdef __sun -# define _POSIX_PTHREAD_SEMANTICS -# endif # include <signal.h> #endif |