Fixed a Win32 constant missing after upgrading to gcc 4.4 headers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1407 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-02-17 11:35:37 +00:00
parent 26bbe358ed
commit aa2199bbb3

View File

@ -35,13 +35,16 @@
#include <iostream>
#include <vector>
// Old versions of MinGW lack the definition of XBUTTON1 and XBUTTON2
// MinGW lacks the definition of some Win32 constants
#ifndef XBUTTON1
#define XBUTTON1 0x0001
#endif
#ifndef XBUTTON2
#define XBUTTON2 0x0002
#endif
#ifndef MAPVK_VK_TO_VSC
#define MAPVK_VK_TO_VSC (0)
#endif
////////////////////////////////////////////////////////////