how did wine devs get some values in winbase.h ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
vtorri
Newbie
Newbie
Posts: 1
Joined: Wed Sep 10, 2008 1:25 pm

how did wine devs get some values in winbase.h ?

Post by vtorri »

Hey,

I'm using mingw on Windows for compilation of linux programs and there is a value that is missing in the mingw winbase.h header file: FILE_MAP_EXECUTE

the wine winbase.h file has that value, but mingw devs can't copy it because of the licence used in wine.

So my question is : where do wine devs get these numbers ?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: how did wine devs get some values in winbase.h ?

Post by vitamin »

vtorri wrote:Hey,

I'm using mingw on Windows for compilation of linux programs and there is a value that is missing in the mingw winbase.h header file: FILE_MAP_EXECUTE

the wine winbase.h file has that value, but mingw devs can't copy it because of the licence used in wine.

So my question is : where do wine devs get these numbers ?
They most likely came from SDK/DDK. There are no license problems if you don't "copy" but "re-type" the same thing. Public API is not patentable.
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

Post by stimpak »

hehehe

so the automated way is protected but the old fashion one is ok?


hehe gotta love the loopholes
Locked