ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
240 stars 45 forks source link

Fix compiling error again gcc5 #12

Closed cicku closed 9 years ago

cicku commented 9 years ago

The default mode for C is now -std=gnu11 instead of -std=gnu89. MLDonkey failed to compile by stopped at:

error: unknown type name int64

Thus I think it's time to fix the old code.

ygrek commented 9 years ago

Also, it would be better to have it squashed in one commit

cicku commented 9 years ago

Please review, I spent sometime dicking around this, not sure if it's correct since I initially used sed to finish the replacement, accompanied with encoding issue introduced subsequently.

ygrek commented 9 years ago

Tweaked the whitespace changes and committed, thanks!