diff --git a/include/ncutil.h b/include/ncutil.h index 9129ea801e..30af8545cd 100644 --- a/include/ncutil.h +++ b/include/ncutil.h @@ -76,12 +76,8 @@ EXTERNL int NC_getmodelist(const char* modestr, struct NClist** modelistp); EXTERNL int NC_testpathmode(const char* path, const char* tag); EXTERNL int NC_testmode(struct NCURI* uri, const char* tag); EXTERNL int NC_addmodetag(struct NCURI* uri, const char* tag); -#ifndef isinf -EXTERNL int isinf(double x); -#endif -#ifndef isnan -EXTERNL int isnan(double x); -#endif +EXTERNL int NC_isinf(double x); +EXTERNL int NC_isnan(double x); EXTERNL int NC_split_delim(const char* arg, char delim, struct NClist* segments); EXTERNL int NC_join(struct NClist* segments, char** pathp); EXTERNL int NC_joinwith(struct NClist* segments, const char* sep, const char* prefix, const char* suffix, char** pathp); diff --git a/libdispatch/dutil.c b/libdispatch/dutil.c index e8b3691c6f..71724806c5 100644 --- a/libdispatch/dutil.c +++ b/libdispatch/dutil.c @@ -434,6 +434,7 @@ NC_addmodetag(NCURI* uri, const char* tag) #if defined __APPLE__ /** \internal */ +#if 0 #if ! defined HAVE_DECL_ISINF int isinf(double x) @@ -457,7 +458,7 @@ int isnan(double x) } #endif /* HAVE_DECL_ISNAN */ - +#endif #endif /*APPLE*/ #endif /*!_INTEL_COMPILER*/