Hacker News new | ask | show | jobs
by colejohnson66 2347 days ago
> MinGW uses their own <windows.h> for this exact reason, even though it describes the same API as the one that comes with MSVC.

I thought they provide their own because they don’t want to assume that MSVC is installed too.

1 comments

If it weren't copyrighted, they could have just copied it as is, instead of rewriting it from scratch.
The file may be copyrighted, but the discussion here is whether the API is or not.
In this subthread, we were discussing "the interface something is not copyrightable as the law says today, but the description of said interfaces may in fact be". The header file was an example of how this is already generally assumed to be the status quo - the API is not copyrighted, but the particular description of that API, in form of <windows.h> that ships with MSVC, is copyrighted. So MinGW could do this for Win32 API, so long as they rolled their own header.