<pre style='margin:0'>
Ken (kencu) pushed a commit to branch fixupheaders
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/ab86ffc153fafc77bc86620c279da8756095c627">https://github.com/macports/macports-legacy-support/commit/ab86ffc153fafc77bc86620c279da8756095c627</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ab86ffc153fafc77bc86620c279da8756095c627
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Thu Jan 31 22:46:32 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> fix headers -- should work for all compilers
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> without errors or warnings
</span>---
include/MacportsLegacySupport.h | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/MacportsLegacySupport.h b/include/MacportsLegacySupport.h
</span><span style='display:block; white-space:pre;color:#808080;'>index bf29f3b..4bb109c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/MacportsLegacySupport.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/MacportsLegacySupport.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,17 +60,27 @@
</span> #define __MP_LEGACY_SUPPORT_POSIX_MEMALIGN__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
/* realpath() wrap */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#define __MP_LEGACY_SUPPORT_REALPATH_WRAP__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__) \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define __MP_LEGACY_SUPPORT_REALPATH_WRAP__ 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ifndef __DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ifndef __DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# define __MP_LEGACY_SUPPORT_REALPATH_WRAP__ 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span>
/* lsmod */
#define __MP_LEGACY_SUPPORT_LSMOD__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050)
/* sysconf() wrap */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#define __MP_LEGACY_SUPPORT_SYSCONF_WRAP__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__) \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && !defined(__DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define __MP_LEGACY_SUPPORT_SYSCONF_WRAP__ 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ifndef __DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ifndef __DISABLE_ALL_MACPORTS_FUNCTION_WRAPPING__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# define __MP_LEGACY_SUPPORT_SYSCONF_WRAP__ 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif
</span>
/* arc4random */
#define __MP_LEGACY_SUPPORT_ARC4RANDOM__ (__APPLE__ && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
</pre><pre style='margin:0'>
</pre>