Skip to content

Commit

Permalink
Revert "Apprently new VS headers (or other Win .h) drop "#define NAN". (
Browse files Browse the repository at this point in the history
#8627)"

This reverts commit bfdd58d.
  • Loading branch information
seisman committed Nov 22, 2024
1 parent 64b7e3c commit 4cbf236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gmt_notposix.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@

#ifndef NAN
# ifdef _MSC_VER
static const double _NAN = (-(float)(((float)(1e+300 * 1e+300)) * 0.0F));
# define NAN _NAN
# include <ymath.h>
# define NAN _Nan._Double
# else /* _MSC_VER */
static const double _NAN = (HUGE_VAL-HUGE_VAL);
# define NAN _NAN
Expand Down

0 comments on commit 4cbf236

Please sign in to comment.