diff options
-rw-r--r-- | src/NaNCheck.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/NaNCheck.c b/src/NaNCheck.c index eafd3cd..0824cf3 100644 --- a/src/NaNCheck.c +++ b/src/NaNCheck.c @@ -223,6 +223,8 @@ static void PrintWarning (const char *error_type, #else +#ifdef HAVE_ISNAN + #define CHECK_DATA(cctk_type) \ { \ int _i; \ @@ -239,6 +241,12 @@ static void PrintWarning (const char *error_type, } \ } +#else + +#error Unable to check for NaNs on this architecture yet + +#endif /* HAVE_ISNAN */ + #endif /* HAVE_FINITE */ |