Skip to content

Commit

Permalink
cpl_port.h: disable CPLIsNan/CPLIsInf/CPLIsFinite for GDAL internal use
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Aug 15, 2024
1 parent 7d99d82 commit 2bddae8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions port/cpl_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@ static inline char *CPL_afl_friendly_strstr(const char *haystack,
#endif
/*! @endcond */

#ifndef GDAL_COMPILATION
/*! @cond Doxygen_Suppress */
/* -------------------------------------------------------------------- */
/* Handle isnan() and isinf(). Note that isinf() and isnan() */
/* are supposed to be macros according to C99, defined in math.h */
Expand Down Expand Up @@ -680,6 +682,8 @@ extern "C++"
#endif
#endif
#endif
/*! @endcond */
#endif // GDAL_COMPILATION

/*! @cond Doxygen_Suppress */
/*---------------------------------------------------------------------
Expand Down

0 comments on commit 2bddae8

Please sign in to comment.