The DC_TRANSPORT_BLUETOOTH is quite abused here, and I removed it in our custom serial code. This works around the issue so subsurface still compiles.
Signed-off-by: Anton Lundin <[email protected]> --- desktop-widgets/downloadfromdivecomputer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index d585896..4570a3b 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -37,6 +37,9 @@ namespace DownloadFromDcGlobal { struct dive_table downloadTable; +// Workaround abuse of old libdc types +#define DC_TRANSPORT_BLUETOOTH 1024 + DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f), thread(0), downloading(false), -- 2.7.4 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
