diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2019-07-08 13:52:26 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2019-07-16 10:12:31 +0000 |
commit | ea9429ec78a3a40f8a7aa5d2f3a523f14f9cc6e1 (patch) | |
tree | 7b0a07cbcd855e55ae0bb7a4513fd432a9441a08 | |
parent | 37c770825c1174c274fd09b2da1a7438d8c0a363 (diff) |
Make qtconnectivity compile on RHEL 6.10
htonl and htons cannot be found when compiling src/sdpscanner. This patch
extends the bluez compile test such that the missing symbols are checked
as well. As outcome RHEL 6.10 will have no bluez support and the dummy
backend will be built.
Fixes: QTBUG-74581
Change-Id: Ie71ed05d72f94e43630be41bc589de5f24fb2194
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | config.tests/bluez/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.tests/bluez/main.cpp b/config.tests/bluez/main.cpp index 2e978b85..63d7f8eb 100644 --- a/config.tests/bluez/main.cpp +++ b/config.tests/bluez/main.cpp @@ -35,5 +35,10 @@ int main() bacmp(&anyTmp, &localTmp); + uint32_t field0 = 1; + uint16_t field1 = 1; + + field0 = htonl(field0); + field1 = htons(field1); return 0; } |