Index: src/platform-posix.cc |
=================================================================== |
--- src/platform-posix.cc (revision 3400) |
+++ src/platform-posix.cc (working copy) |
@@ -61,6 +61,13 @@ |
return fmod(x, y); |
} |
+ |
+double OS::nan_value() { |
+ // NAN from math.h is defined in C99 and not in POSIX. |
+ return NAN; |
+} |
+ |
+ |
// ---------------------------------------------------------------------------- |
// POSIX date/time support. |
// |