mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2025-08-29 02:33:58 +02:00
Windows 3.0, Windows 3.1 and Windows 95 have library WIN87EM.DLL with symbol name __FPMATH, not with _FPMATH. So fix the __FPMATH symbol name. This change fixes running Windows 3.0 CALC.EXE application, which imports WIN87EM.DLL symbols by name. Without this change the CALC.EXE fails on: "No implementation for WIN87EM.__FPMATH, setting to 0xdeadbeef" Other Windows application, including Windows 3.1+ CALC.EXE application, import WIN87EM.DLL symbols by ordinals, so are not affected by this issue. Signed-off-by: Pali Rohár <pali@kernel.org>
4 lines
198 B
Ruby
4 lines
198 B
Ruby
1 pascal -register __fpMath()
|
|
3 pascal -ret16 __WinEm87Info(ptr word) __WinEm87Info
|
|
4 pascal -ret16 __WinEm87Restore(ptr word) __WinEm87Restore
|
|
5 pascal -ret16 __WinEm87Save(ptr word) __WinEm87Save
|