Teach VERSION_GetLinkedDLLVersion about Mingw32 applications.
This commit is contained in:
parent
0bc8377bc2
commit
afa94e3a98
@ -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)
|
|||||||
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user