[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fixes for 64-bit MSVC minheadless build (#313)
Eliot Miranda
notifications at github.com
Sat Dec 1 19:00:57 UTC 2018
Hi Ben,
platforms/minheadless/windows/sqPlatformSpecific-Win32.c still has to cover both x64 and x86 so IMO the right way to write this:
/* Setup the FPU */
// x64 does not support _MCW_PC or _MCW_IC (https://msdn.microsoft.com/en-us/library/e9b52ceh.aspx)
_controlfp(FPU_DEFAULT, _MCW_EM | _MCW_RC );
is
/* Setup the FPU */
// x64 does not support _MCW_PC or _MCW_IC (https://msdn.microsoft.com/en-us/library/e9b52ceh.aspx)
#if !defined(_MCW_PC)
# define _MCW_PC 0
#endif
#if !defined(_MCW_IC)
# define _MCW_IC 0
#endif
_controlfp(FPU_DEFAULT, _MCW_EM | _MCW_RC | _MCW_PC | _MCW_IC);
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/313#issuecomment-443449592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181201/ec5ff559/attachment.html>
More information about the Vm-dev
mailing list