make this test work on Windows, another attempt

git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@5379 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
This commit is contained in:
kroening 2015-05-09 09:45:05 +00:00
parent e869257131
commit 30f47ed188
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#ifdef _MSC_VER
#include <float.h>
int isnanf(float);
#define isnan(x) ((x)!=(x))
#else
#include <fenv.h>
#endif
@ -12,8 +12,8 @@ int main (void) {
float f;
float g;
__CPROVER_assume(!isnanf(f));
__CPROVER_assume(!isnanf(g));
__CPROVER_assume(!isnan(f));
__CPROVER_assume(!isnan(g));
if (f > g) {
#ifdef _MSC_VER