aboutsummaryrefslogtreecommitdiffstats
path: root/icons/scale.svg
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-18 23:46:57 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-18 19:24:21 -0800
commit694fc9d00fcfb6c212103e4a7009af53044eb888 (patch)
tree81a1dd172310880ea6c1f6ae60db5bc08786bc94 /icons/scale.svg
parent5756ce281f1459935e7f8e1a3918b4752d7b19bf (diff)
downloadsubsurface-694fc9d00fcfb6c212103e4a7009af53044eb888.tar.gz
libdivecomputer.h: fix warning with DC_VERSION on Win32
"warning: "DC_VERSION" redefined" is thrown if a chain of includes previously includes windows.h: In file included from c:/bin/mingw/i686-w64-mingw32/include/windows.h:71:0, from C:/bin/qt/5.5/mingw492_32/include/QtCore/qt_windows.h:63, from C:/bin/qt/5.5/mingw492_32/include/QtGui/qopengl.h:43, from C:/bin/qt/5.5/mingw492_32/include/QtQuick/qquickwindow.h:39, from C:/bin/qt/5.5/mingw492_32/include/QtQuick/QQuickWindow:1, from C:/dev/subsurface/subsurface-core/qt-gui.h:13, from C:\dev\subsurface\subsurface-mobile-main.cpp:9: and which on it's own includes wingdi.h which defines "DC_VERSION 10" (windows printer stack related). To solve the warning DC_VERSION is undefined in subsurface-core/libdivecomputer.h. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'icons/scale.svg')
0 files changed, 0 insertions, 0 deletions