"Dimitrie O. Paun" <dimi(a)intelliware.ca> writes:
I have a lot more changes (cleanup of winnt.h), do you want me to drop them all? Fixing _all_ headers is a big task, I don't understand why we can't do it in distinct chunks....
Because such large scale changes are a real pain for everybody who has local changes; we can't really avoid changing every file, but we can avoid changing every file 10 times. Besides, we'll need a script to fix winbase.h, so we might as well use it for the others too. Anyway, just to show it can be done here's the beginning of such a script; you can do 'fix-includes windef.h winbase.h <files>' and it will make sure all the files listed include windef.h before winbase.h without making unnecessary changes. It's not perfect yet, but it sure beats doing everything by hand... -- Alexandre Julliard julliard(a)winehq.com