mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Fix build if -Denable-fpe-check=1 on windows
This commit is contained in:
parent
7e2ed650ca
commit
6a6015f047
2 changed files with 4 additions and 4 deletions
|
@ -384,10 +384,10 @@ endif ( enable-trap-on-fpe AND NOT APPLE AND NOT WIN32 )
|
|||
|
||||
unset ( ENABLE_FPECHECK CACHE )
|
||||
unset ( FPE_CHECK CACHE )
|
||||
if ( enable-fpe-check )
|
||||
if ( enable-fpe-check AND NOT APPLE AND NOT WIN32 )
|
||||
set ( ENABLE_FPECHECK 1 )
|
||||
set ( FPE_CHECK 1 )
|
||||
endif ( enable-fpe-check )
|
||||
endif ( enable-fpe-check AND NOT APPLE AND NOT WIN32 )
|
||||
|
||||
if ( enable-debug )
|
||||
set ( CMAKE_BUILD_TYPE "Debug" CACHE STRING
|
||||
|
|
|
@ -706,13 +706,13 @@ enum
|
|||
#ifdef FPE_CHECK
|
||||
#define fluid_check_fpe(expl) fluid_check_fpe_i386(expl)
|
||||
#define fluid_clear_fpe() fluid_clear_fpe_i386()
|
||||
unsigned int fluid_check_fpe_i386(char *explanation_in_case_of_fpe);
|
||||
void fluid_clear_fpe_i386(void);
|
||||
#else
|
||||
#define fluid_check_fpe(expl)
|
||||
#define fluid_clear_fpe()
|
||||
#endif
|
||||
|
||||
unsigned int fluid_check_fpe_i386(char *explanation_in_case_of_fpe);
|
||||
void fluid_clear_fpe_i386(void);
|
||||
|
||||
/* System control */
|
||||
void fluid_msleep(unsigned int msecs);
|
||||
|
|
Loading…
Reference in a new issue