diff options
author | nyamatongwe <devnull@localhost> | 2011-09-24 23:05:37 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-09-24 23:05:37 +1000 |
commit | ce65bcafafff947ff7c5cc76a89c6e302917f122 (patch) | |
tree | f335d169fe979eed7fd703d7ef5b3dfaecc60b9d /win32/PlatWin.h | |
parent | 13c4176ea8389b4fc11fed3e87f4e5439c57443f (diff) | |
download | scintilla-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.h | 3 |
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 |