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 #include #include