<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/projects/libcxx/include/cmath	2014-04-13 12:26:04.000000000 -0700
+++ b/projects/libcxx/include/cmath	2014-04-13 12:26:44.000000000 -0700
@@ -301,6 +301,22 @@ long double    truncl(long double x);
 #include &lt;math.h&gt;
 #include &lt;type_traits&gt;
 
+#ifdef __APPLE__
+#include &lt;Availability.h&gt;
+#if __MAC_OS_X_VERSION_MAX_ALLOWED &lt; 1070
+/* These prototypes are incorrectly omitted from &lt;math.h&gt; on Snow Leopard despite being available */
+extern "C" {
+    extern long long int llrintl(long double);
+    extern long long int llrint(double);
+    extern long long int llrintf(float);
+
+    extern long long int llroundl(long double);
+    extern long long int llround(double);
+    extern long long int llroundf(float);
+}
+#endif
+#endif // __APPLE__
+
 #ifdef _MSC_VER
 #include "support/win32/math_win32.h"
 #endif
</pre></body></html>