Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ab7f1679
Commit
ab7f1679
authored
Jun 01, 2015
by
Gus Grubba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing non Mac OS builds.
parent
d653c636
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
QGCExternalLibs.pri
QGCExternalLibs.pri
+2
-0
UDPLink.cc
src/comm/UDPLink.cc
+2
-0
UDPLink.h
src/comm/UDPLink.h
+2
-1
No files found.
QGCExternalLibs.pri
View file @
ab7f1679
...
...
@@ -292,5 +292,7 @@ contains (DEFINES, DISABLE_ZEROCONF) {
} else:MacBuild|iOSBuild {
message("Including support for Zeroconf (Bonjour)")
DEFINES += QGC_ZEROCONF_ENABLED
} else {
message("Skipping support for Zeroconf (unsupported platform)")
}
src/comm/UDPLink.cc
View file @
ab7f1679
...
...
@@ -77,7 +77,9 @@ static QString get_ip_address(const QString& address)
UDPLink
::
UDPLink
(
UDPConfiguration
*
config
)
:
_socket
(
NULL
)
,
_connectState
(
false
)
#if defined(QGC_ZEROCONF_ENABLED)
,
_dnssServiceRef
(
NULL
)
#endif
{
Q_ASSERT
(
config
!=
NULL
);
_config
=
config
;
...
...
src/comm/UDPLink.h
View file @
ab7f1679
...
...
@@ -205,9 +205,10 @@ private:
bool
_hardwareConnect
();
void
_restartConnection
();
#if defined(QGC_ZEROCONF_ENABLED)
void
_registerZeroconf
(
uint16_t
port
,
const
std
::
string
&
regType
);
void
_deregisterZeroconf
();
#if defined(QGC_ZEROCONF_ENABLED)
DNSServiceRef
_dnssServiceRef
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment