From ce65bcafafff947ff7c5cc76a89c6e302917f122 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 24 Sep 2011 23:05:37 +1000 Subject: Mingw32 doesn't have Direct2D or DirectWrite headers so turn off use of these libraries except when compiling with Visual C++. --- win32/PlatWin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/PlatWin.h') 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 -- cgit v1.2.3