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>
This commit is contained in:
parent
37c770825c
commit
ea9429ec78
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue