Commit afa94e3a authored by C. Scott Ananian's avatar C. Scott Ananian Committed by Alexandre Julliard

Teach VERSION_GetLinkedDLLVersion about Mingw32 applications.

parent 0bc8377b
...@@ -368,6 +368,7 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod ) ...@@ -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 NT4+IE5 comctl32.dll
* 5.12/5.00/5.00/4.00 Win98 calc * 5.12/5.00/5.00/4.00 Win98 calc
* x.xx/5.00/5.00/4.00 win95/win98/NT4 IE5 files * 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) static DWORD VERSION_GetLinkedDllVersion(void)
{ {
...@@ -471,6 +472,7 @@ static DWORD VERSION_GetLinkedDllVersion(void) ...@@ -471,6 +472,7 @@ static DWORD VERSION_GetLinkedDllVersion(void)
switch(ophd->MajorImageVersion) switch(ophd->MajorImageVersion)
{ {
case 4 : return WIN98; /* most apps will use this */ case 4 : return WIN98; /* most apps will use this */
case 1 : return WIN98; /* this seems to be generated by Mingw32 */
case 0 : return WIN95; case 0 : return WIN95;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment