diff options
author | nyamatongwe <unknown> | 2011-09-24 23:05:37 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-09-24 23:05:37 +1000 |
commit | da957a2099eb059eb7d12c30c34cf1a2ad8cb88a (patch) | |
tree | 0f06fbac71a20e7cb0590fa997df3b59c1f15771 /win32/PlatWin.h | |
parent | 77d25bd25490fe412a213581e371c7c26eb23f7d (diff) | |
download | scintilla-mirror-da957a2099eb059eb7d12c30c34cf1a2ad8cb88a.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 |