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:
Dirk Hohndel 2015-07-07 11:47:48 -07:00
parent fe8605ed5b
commit fa69a1b7d5
3 changed files with 20 additions and 0 deletions

View file

@ -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