- Fixes to compile with GCC 4.5.0.

SVN r2660 (trunk)
This commit is contained in:
Randy Heit 2010-09-01 03:30:18 +00:00
commit a2573e4bb3
9 changed files with 65 additions and 16 deletions

View file

@ -388,8 +388,9 @@ FRawPS2Controller::~FRawPS2Controller()
bool FRawPS2Controller::ProcessInput(RAWHID *raw, int code)
{
// w32api has an incompatible definition of bRawData
#if __GNUC__
// w32api has an incompatible definition of bRawData.
// (But the version that comes with MinGW64 is fine.)
#if defined(__GNUC__) && !defined(_WIN64)
BYTE *rawdata = &raw->bRawData;
#else
BYTE *rawdata = raw->bRawData;