<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/780d2b010b9e3443dcb42c1438b9fe2a5f94a69c">https://github.com/macports/macports-legacy-support/commit/780d2b010b9e3443dcb42c1438b9fe2a5f94a69c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 780d2b010b9e3443dcb42c1438b9fe2a5f94a69c
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Thu Apr 7 12:45:24 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> use __DARWIN_NO_LONG_LONG for existence of long long
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> `clang++-mp-7.0 -stdlib=macports-libstdc++ -std=c++11 ...`
</span><span style='display:block; white-space:pre;color:#404040;'> incorrectly determines that the long long data type does not exist.
</span><span style='display:block; white-space:pre;color:#404040;'> __DARWIN_NO_LONG_LONG is available from the OS, always seems to work,
</span><span style='display:block; white-space:pre;color:#404040;'> and is what GCC uses.
</span>---
include/math.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/math.h b/include/math.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 79a9cce..0bd67e9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/math.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/math.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,11 +33,9 @@ __MP__BEGIN_DECLS
</span>
/*
* this is the same condition that defines the function prototypes in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- * the system <math.h>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * the GCC <math.h>.
</span> */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#if ( ( defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L ) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ! defined( __STRICT_ANSI__ ) || ! defined( __GNUC__ ) )
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if !(__DARWIN_NO_LONG_LONG)
</span> extern long long int llrint ( double );
extern long long int llrintf ( float );
extern long long int llrintl ( long double );
</pre><pre style='margin:0'>
</pre>