aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-09-24 23:05:37 +1000
committernyamatongwe <devnull@localhost>2011-09-24 23:05:37 +1000
commitce65bcafafff947ff7c5cc76a89c6e302917f122 (patch)
treef335d169fe979eed7fd703d7ef5b3dfaecc60b9d /win32/PlatWin.h
parent13c4176ea8389b4fc11fed3e87f4e5439c57443f (diff)
downloadscintilla-mirror-ce65bcafafff947ff7c5cc76a89c6e302917f122.tar.gz
Mingw32 doesn't have Direct2D or DirectWrite headers so turn off use
of these libraries except when compiling with Visual C++.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index dc3f8e432..38068ad02 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -8,6 +8,9 @@
extern bool IsNT();
extern void Platform_Initialise(void *hInstance);
extern void Platform_Finalise();
+
+#if defined(_MSC_VER)
extern bool LoadD2D();
extern ID2D1Factory *pD2DFactory;
extern IDWriteFactory *pIDWriteFactory;
+#endif