Index: src/platform-nullos.cc |
diff --git a/src/platform-nullos.cc b/src/platform-nullos.cc |
index c0cf7f4b75f3e189a4de0e4925f5d93e63d2d7ee..084880e39444ff254495d18e7bd4f40751889d53 100644 |
--- a/src/platform-nullos.cc |
+++ b/src/platform-nullos.cc |
@@ -47,6 +47,13 @@ double ceiling(double x) { |
} |
+// Give V8 the opportunity to override the default fmod behavior. |
+double modulo(double x, double y) { |
+ UNIMPLEMENTED(); |
+ return 0; |
+} |
+ |
+ |
// Initialize OS class early in the V8 startup. |
void OS::Setup() { |
// Seed the random number generator. |