diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-13 20:29:18 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-13 20:29:18 +0400 |
commit | 15f3bbfe9e09ce1e638a3a857270c9da8f5e72c4 (patch) | |
tree | f46ea7a493e34e64d60ff670eac62efd6accfa36 /intern | |
parent | 649b92e6886965153abcc4311a93d7ed876a4c7a (diff) |
Fix some compilation errors for MinGW. Thanks to vildas on irc for
bringing this to attention.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SizerWin32.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <windows.h> 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__*/ |