Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 7180b811499dbd3355d92f7d510a5ea076f61a5d..1eb12953035604b4811d00075b782687a3470bc9 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -22,6 +22,8 @@ |
# define V8_INFINITY std::numeric_limits<double>::infinity() |
#elif V8_LIBC_MSVCRT |
# define V8_INFINITY HUGE_VAL |
+#elif V8_OS_AIX |
+#define V8_INFINITY (__builtin_inff()) |
#else |
# define V8_INFINITY INFINITY |
#endif |