aboutsummaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r--core/libdivecomputer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h
index 050834195..e1964eb9a 100644
--- a/core/libdivecomputer.h
+++ b/core/libdivecomputer.h
@@ -15,6 +15,7 @@
// Even if we have an old libdivecomputer, Uemis uses this
#ifndef DC_TRANSPORT_USBSTORAGE
#define DC_TRANSPORT_USBSTORAGE (1 << 6)
+#define dc_usb_storage_open(stream, context, devname) (DC_STATUS_UNSUPPORTED)
#endif
#include "dive.h"