Issue #24974: Force fp-model precice in mpdecimal.c on Windows

As suggested by Steve Dower and approved by Stefan Krah.
This commit is contained in:
Zachary Ware 2015-09-03 11:52:15 -05:00
parent ca30b02abe
commit fda673d59f
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@
#ifdef PPRO
#if defined(_MSC_VER)
#include <float.h>
#pragma float_control(precise, on)
#pragma fenv_access(on)
#elif !defined(__OpenBSD__) && !defined(__NetBSD__)
/* C99 */