在 2020/7/30 下午4:34, Luca Bacci 写道:
> Hi, I'm contributing some Windows-specific code to a cross-platform OSS
> project. This project is licensed under the LGPL. Because the code I'm
> contributing uses some newer windows API only introduced since Windows 8,
> and because the project must continue to compile with older compiler
> toolchains (MS Visual Studio 2008, older mingw-w64 distributions), I
> thought about copying all the necessary winapi type declarations (all from
> winuser.h).
> 
> From a licensing perspective, is it possible to copy a small part of the
> mingw-w64 winapi headers in a LGPL project?
> 
> 

winuser.h contains a notice that references DISCLAIMER at top level, which 
indicates ZPL 2.1.

As such:
        
0) You shall comply with 1, 2, 3 and 4 of ZPL 2.1. This usually means you 
should convey a copy of contents of DISCLAIMER.
1) You may copy such code into your project, under the same license or under 
LGPL. In the latter case, it does not
   prevent other people from copying your copy and re-license it under the old 
license, however.
2) According to 5, if you make modifications to them, you shall add notices for 
your modifications. You may license
   them under LGPL, but this license doesn't cover code that you haven't 
modified.

There are also numerous headers with a different notice which states they are 
'placed in the Public Domain'. You may copy or
relicense these files at your disposal.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to