FS-9840: [mod_avmd] fix error avmd_desa2_tweaked.c:61:5: error: implicit declaration of function 'ISINF' [-Werror=implicit-function-declaration]

This commit is contained in:
Mike Jerris 2017-01-03 18:11:07 -06:00
parent 2dcbeffcd8
commit afa182cbfc
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@
#include <float.h>
#define ISNAN(x) (!!(_isnan(x)))
#define ISINF(x) (isinf(x))
#else
int __isnan(double);
int __isinf(double);
#define ISNAN(x) (__isnan(x))
#define ISINF(x) (__isinf(x))
#endif
#include "avmd_buffer.h"