I remember using it all the time for the Windows headers because they pollutes the compilation unit like you wouldn't believe — the rule was to only include them in c/cpp files.
We put
#define WIN32_LEAN_AND_MEAN 1 #include <windows.h>
We put
In precompiled headers to solve that particular problem.