"Steven Edwards" <winehac...@gmail.com> wrote: > Conversely maybe using windows.h usage should be fixed and used more > often. Wine is an oddball when it comes to win32 program with the > excessive lengths it goes to, to avoid using windows.h. I am starting > to think even avoiding it internally like we do causes more harm than > good as far as being source compatible with MSVC.
The reason why we avoid windows.h inclusion in Wine is compilation time by avoiding inclusion of all-in-one headers windows.h does. It's always a good programming practice to include only those .h files that are really needed, inclusion of windows.h usually shows the ignorance and lack of knowledge of a programmer. -- Dmitry.