diff --git a/src/mod/applications/mod_vmd/mod_vmd.c b/src/mod/applications/mod_vmd/mod_vmd.c index 6a9559d527..4f3efc6101 100644 --- a/src/mod/applications/mod_vmd/mod_vmd.c +++ b/src/mod/applications/mod_vmd/mod_vmd.c @@ -47,7 +47,7 @@ #include #define ISNAN(x) (!!(_isnan(x))) #else -#define ISNAN(x) ((x)== NAN) +#define ISNAN(x) (isnan(x)) #endif /*! Number of points for beep detection. */