Timo Kreuzer wrote:
If it's defined automatically, why isn't __WINESRC__ alone enough?
Because __WINESRC__ is for system code. It will, for example, force you to choose between A/W, disabling the generic name. Wine non-system code (like winetests) doesn't compile if __WINESRC__ is defined
And when it's not enough anyway, why define __ROS_LONG64__ automatically at all?
The hope is someone will follow up with a cleaner commit that defines __ROS_LONG64__ automatically in a single place, instead of in every header that uses it
If we assume a 64bit long, why define INT_PTR to long on 32 bit target?
Because that's what Wine does on 32 bit targets. Don't ask me why. If you can think of a better way, you have commit access