From 15f3bbfe9e09ce1e638a3a857270c9da8f5e72c4 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sat, 13 Apr 2013 16:29:18 +0000 Subject: Fix some compilation errors for MinGW. Thanks to vildas on irc for bringing this to attention. --- intern/ghost/intern/GHOST_SizerWin32.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_SizerWin32.h b/intern/ghost/intern/GHOST_SizerWin32.h index f7d11e78ad7..f3e3d1173ed 100644 --- a/intern/ghost/intern/GHOST_SizerWin32.h +++ b/intern/ghost/intern/GHOST_SizerWin32.h @@ -29,6 +29,8 @@ #ifndef __GHOST_SIZERWIN32_H__ #define __GHOST_SIZERWIN32_H__ +#define _WIN32_WINNT 0x501 // require Windows XP or newer +#define WIN32_LEAN_AND_MEAN #include class GHOST_SizerWin32 { @@ -58,4 +60,4 @@ class GHOST_SizerWin32 }; -#endif /*#ifndef __GHOST_SIZERWIN32_H__*/ \ No newline at end of file +#endif /*#ifndef __GHOST_SIZERWIN32_H__*/ -- cgit v1.2.3