summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx')
-rw-r--r--shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
index cd573e38f7cf..19567cff80e0 100644
--- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
+++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
@@ -26,6 +26,8 @@
*
************************************************************************/
+#ifndef DONT_HAVE_GDIPLUS
+
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_shell.hxx"
@@ -529,4 +531,6 @@ Gdiplus::Rect CThumbviewer::CalcScaledAspectRatio(Gdiplus::Rect src, Gdiplus::Re
return result;
}
+#endif // DONT_HAVE_GDIPLUS
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */