Skip to content

Commit

Permalink
inf2
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Jan 18, 2025
1 parent 0bcc3d1 commit e2c9b82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 2 additions & 6 deletions include/ncutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion libdispatch/dutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -457,7 +458,7 @@ int isnan(double x)
}

#endif /* HAVE_DECL_ISNAN */

#endif
#endif /*APPLE*/
#endif /*!_INTEL_COMPILER*/

Expand Down

0 comments on commit e2c9b82

Please sign in to comment.