- Fixes to compile with GCC 4.5.0.
SVN r2660 (trunk)
This commit is contained in:
parent
4b817cfd8b
commit
a2573e4bb3
9 changed files with 65 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue