mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
Extended workaround for bug in VS2017 compiler to 32-bit build
game-music-emu\gme\fir_resampler.cpp(32): fatal error C1001: An internal error has occurred in the compiler.
This commit is contained in:
parent
dee5d064e9
commit
31f2bb5218
1 changed files with 4 additions and 4 deletions
|
@ -23,9 +23,9 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
|
|||
#undef PI
|
||||
#define PI 3.1415926535897932384626433832795029
|
||||
|
||||
#if _MSC_VER >= 1911 && defined _M_X64
|
||||
#if _MSC_VER >= 1911
|
||||
#pragma float_control(precise, on, push)
|
||||
#endif // _MSC_VER >= 1911 && _M_X64
|
||||
#endif // _MSC_VER >= 1911
|
||||
|
||||
static void gen_sinc( double rolloff, int width, double offset, double spacing, double scale,
|
||||
int count, short* out )
|
||||
|
@ -56,9 +56,9 @@ static void gen_sinc( double rolloff, int width, double offset, double spacing,
|
|||
}
|
||||
}
|
||||
|
||||
#if _MSC_VER >= 1911 && defined _M_X64
|
||||
#if _MSC_VER >= 1911
|
||||
#pragma float_control(pop)
|
||||
#endif // _MSC_VER >= 1911 && _M_X64
|
||||
#endif // _MSC_VER >= 1911
|
||||
|
||||
Fir_Resampler_::Fir_Resampler_( int width, sample_t* impulses_ ) :
|
||||
width_( width ),
|
||||
|
|
Loading…
Reference in a new issue