wine/dlls/win87em.dll16/win87em.dll16.spec
Pali Rohár 9c24354961 win87em: Fix __FPMATH symbol name.
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>
2025-04-21 22:57:19 +02:00

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