OSDN Git Service
(root)
/
kde
/
kde-extraapps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45abf9
)
libktorrent: do not rely on Q_OS_BSD4 definition
author
Ivailo Monev
<xakepa10@gmail.com>
Sun, 25 Oct 2020 19:51:17 +0000
(21:51 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sun, 25 Oct 2020 19:51:17 +0000
(21:51 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
libktorrent/src/net/socket.cpp
patch
|
blob
|
history
diff --git
a/libktorrent/src/net/socket.cpp
b/libktorrent/src/net/socket.cpp
index
e51c645
..
8b7a0a1
100644
(file)
--- a/
libktorrent/src/net/socket.cpp
+++ b/
libktorrent/src/net/socket.cpp
@@
-335,7
+335,7
@@
namespace net
if (m_ip_version == 4)
{
-#if defined(Q_OS_MACX) || defined(Q_OS_DARWIN) || defined(Q_OS_
NETBSD) || defined(Q_OS_BSD4
)
+#if defined(Q_OS_MACX) || defined(Q_OS_DARWIN) || defined(Q_OS_
FREEBSD) || defined(Q_OS_OPENBSD) || defined(Q_OS_NETBSD
)
unsigned int c = type_of_service;
#else
unsigned char c = type_of_service;