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, view it on GitHub, or mute the thread.