You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-devel/gcc-apple/files/gcc-apple-4.2.1_p5666-darwi...

14 lines
650 B

--- gcc-5666.3/gcc/libgcov.c.orig 2015-01-21 23:33:54.000000000 +0100
+++ gcc-5666.3/gcc/libgcov.c 2015-01-21 23:36:12.000000000 +0100
@@ -36,7 +36,10 @@
/* APPLE LOCAL begin instant off 6414141 */
#if defined(__APPLE__) && !defined(__STATIC__) && !defined(__ppc__) && !defined(__ppc64__) && !defined(__arm__)
+/* no vproc.h on 10.4 and below */
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
#include <vproc.h>
+#endif
#if defined(VPROC_HAS_TRANSACTIONS)
vproc_transaction_t vproc_transaction_begin(vproc_t virtual_proc) __attribute__((weak));
void vproc_transaction_end(vproc_t virtual_proc, vproc_transaction_t handle) __attribute__((weak));