diff options
-rw-r--r-- | subsurface-core/libdivecomputer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subsurface-core/libdivecomputer.h b/subsurface-core/libdivecomputer.h index 79817e509..f52f6959a 100644 --- a/subsurface-core/libdivecomputer.h +++ b/subsurface-core/libdivecomputer.h @@ -3,6 +3,10 @@ /* libdivecomputer */ + +#ifdef DC_VERSION /* prevent a warning with wingdi.h */ +#undef DC_VERSION +#endif #include <libdivecomputer/version.h> #include <libdivecomputer/device.h> #include <libdivecomputer/parser.h> |