Last active
February 24, 2021 16:06
-
-
Save milljm/22e40e723fb9faf201b83197fc23b4a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ruN a/coregrind/m_syscall.c b/coregrind/m_syscall.c | |
--- a/coregrind/m_syscall.c 2016-10-21 04:37:39.000000000 -0600 | |
+++ b/coregrind/m_syscall.c 2016-10-31 10:02:39.000000000 -0600 | |
@@ -33,6 +33,7 @@ | |
#include "pub_core_vki.h" | |
#include "pub_core_vkiscnums.h" | |
#include "pub_core_syscall.h" | |
+#define __private_extern__ extern | |
/* --------------------------------------------------------------------- | |
Building syscall return values. | |
diff -ruN a/coregrind/m_syswrap/syswrap-darwin.c b/coregrind/m_syswrap/syswrap-darwin.c | |
--- a/coregrind/m_syswrap/syswrap-darwin.c 2016-10-21 04:37:40.000000000 -0600 | |
+++ b/coregrind/m_syswrap/syswrap-darwin.c 2016-10-31 10:03:10.000000000 -0600 | |
@@ -72,6 +72,8 @@ | |
#define msgh_request_port msgh_remote_port | |
#define msgh_reply_port msgh_local_port | |
#define BOOTSTRAP_MAX_NAME_LEN 128 | |
+#define __private_extern__ extern | |
+ | |
typedef HChar name_t[BOOTSTRAP_MAX_NAME_LEN]; | |
typedef uint64_t mig_addr_t; | |
diff -ruN a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c | |
--- a/coregrind/vg_preloaded.c 2016-10-21 04:37:40.000000000 -0600 | |
+++ b/coregrind/vg_preloaded.c 2016-10-31 10:43:38.000000000 -0600 | |
@@ -46,6 +46,7 @@ | |
#include "pub_core_clreq.h" | |
#include "pub_core_debuginfo.h" // Needed for pub_core_redir.h | |
#include "pub_core_redir.h" // For VG_NOTIFY_ON_LOAD | |
+#define __private_extern__ extern | |
#if defined(VGO_linux) || defined(VGO_solaris) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment