summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/math.h')
-rw-r--r--winsup/mingw/include/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h
index af6a40f22..96405229d 100644
--- a/winsup/mingw/include/math.h
+++ b/winsup/mingw/include/math.h
@@ -241,7 +241,7 @@ _CRTIMP int __cdecl fpclass (double);
#ifndef __NO_ISOCEXT
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
- || !defined __STRICT_ANSI__ || defined __GLIBCPP__
+ || !defined __STRICT_ANSI__ || defined __cplusplus
#define NAN (0.0F/0.0F)
#define HUGE_VALF (1.0F/0.0F)