X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fplatform%2Fsockets%2Fsocket.h;h=1d54a03ec22098f7c6a31fc9648f99d55b38c7c9;hb=2563e7ebe9a465b5905bfe2b710975db5cd4d1c8;hp=9ef359679f1b0e48fb7634351d3f15cbbfe611d9;hpb=8637ad53b004d3e88e515fbf91ea4f7f17a11721;p=deb_libcec.git diff --git a/src/lib/platform/sockets/socket.h b/src/lib/platform/sockets/socket.h index 9ef3596..1d54a03 100644 --- a/src/lib/platform/sockets/socket.h +++ b/src/lib/platform/sockets/socket.h @@ -40,11 +40,6 @@ #include "../posix/os-socket.h" #endif -/* Needed on Mac OS/X */ -#ifndef SOL_TCP -#define SOL_TCP IPPROTO_TCP -#endif - // Common socket operations namespace PLATFORM @@ -228,7 +223,7 @@ namespace PLATFORM CLockObject lock(m_mutex); if (m_iUseCount > 0) --m_iUseCount; - m_condition.Broadcast(); + m_condition.Signal(); } _Socket *m_socket;