Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 95776e54af761d0c4350ecfe1aa645441ac0d0b9..6272827b45184e65252c515b33a25187e60c8a7f 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3696,7 +3696,7 @@ static Object* Runtime_NumberMod(Arguments args) { |
CONVERT_DOUBLE_CHECKED(x, args[0]); |
CONVERT_DOUBLE_CHECKED(y, args[1]); |
-#ifdef WIN32 |
+#if defined WIN32 || defined _WIN64 |
// Workaround MS fmod bugs. ECMA-262 says: |
// dividend is finite and divisor is an infinity => result equals dividend |
// dividend is a zero and divisor is nonzero finite => result equals dividend |