Teach VERSION_GetLinkedDLLVersion about Mingw32 applications.

This commit is contained in:
C. Scott Ananian 2005-03-23 11:57:39 +00:00 committed by Alexandre Julliard
parent 0bc8377bc2
commit afa94e3a98
1 changed files with 2 additions and 0 deletions

View File

@ -368,6 +368,7 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod )
* 5.12/5.00/5.00/4.00 NT4+IE5 comctl32.dll
* 5.12/5.00/5.00/4.00 Win98 calc
* x.xx/5.00/5.00/4.00 win95/win98/NT4 IE5 files
* 2.38/4.00/1.00/4.00 Mingw32 applications compiled with mingw32
*/
static DWORD VERSION_GetLinkedDllVersion(void)
{
@ -471,6 +472,7 @@ static DWORD VERSION_GetLinkedDllVersion(void)
switch(ophd->MajorImageVersion)
{
case 4 : return WIN98; /* most apps will use this */
case 1 : return WIN98; /* this seems to be generated by Mingw32 */
case 0 : return WIN95;
}
break;