mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow to compile Subsurface with upstream libdivecomputer
This will create an inconsistent build that has some UI features implying BT support but those will be non-functional. I don't think this is the right thing to do - either fail to build with a decent message or really remove the BT support. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fe8605ed5b
commit
fa69a1b7d5
3 changed files with 20 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
|||
#include <QTimer>
|
||||
#include <QDebug>
|
||||
|
||||
#include <libdivecomputer/version.h>
|
||||
|
||||
#if defined(SSRF_CUSTOM_SERIAL)
|
||||
|
||||
#include <libdivecomputer/custom_serial.h>
|
||||
|
||||
extern "C" {
|
||||
|
@ -246,3 +250,4 @@ dc_status_t dc_serial_qt_open(dc_serial_t **out, dc_context_t *context, const ch
|
|||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue