repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: use CTryLockObject when trying to replace handlers in CCECBusDevice
[deb_libcec.git]
/
src
/
lib
/
platform
/
sockets
/
socket.h
diff --git
a/src/lib/platform/sockets/socket.h
b/src/lib/platform/sockets/socket.h
index 9ef359679f1b0e48fb7634351d3f15cbbfe611d9..1d54a03ec22098f7c6a31fc9648f99d55b38c7c9 100644
(file)
--- a/
src/lib/platform/sockets/socket.h
+++ b/
src/lib/platform/sockets/socket.h
@@
-40,11
+40,6
@@
#include "../posix/os-socket.h"
#endif
#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
// Common socket operations
namespace PLATFORM
@@
-228,7
+223,7
@@
namespace PLATFORM
CLockObject lock(m_mutex);
if (m_iUseCount > 0)
--m_iUseCount;
CLockObject lock(m_mutex);
if (m_iUseCount > 0)
--m_iUseCount;
- m_condition.
Broadcast
();
+ m_condition.
Signal
();
}
_Socket *m_socket;
}
_Socket *m_socket;