"Dimitrie O. Paun" dpaun@rogers.com writes:
However, I did grep the source, and it seems that we're using the MSVCRT_ prefix only in dlls/msvcrt/*.c. And so it's not clear to me that duplicating part of the headers is going to be that bad. I mean, we will need duplication only for the stuff that we use internally across files. That doesn't include math functions for example, and a bunch of other stuff.
If you're positive this is not a good idea, I'll drop it, but if there is a chance it would be acceptable, I might give it a try...
It can be acceptable, but it will require writing regression tests to ensure that the definitions remain in sync.