diff options
Diffstat (limited to 'cctools-ld64-1.patch')
-rw-r--r-- | cctools-ld64-1.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cctools-ld64-1.patch b/cctools-ld64-1.patch new file mode 100644 index 000000000000..f1dd2bfaec29 --- /dev/null +++ b/cctools-ld64-1.patch @@ -0,0 +1,22 @@ +--- ld64/src/3rd/helper_backup.h 2013-02-24 11:26:01.159718369 -0800 ++++ ld64/src/3rd/helper.h 2013-02-24 11:27:22.107716807 -0800 +@@ -1,6 +1,10 @@ + #ifndef _HELPER_H + #define _HELPER_H + ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + #include <mach/mach_time.h> + #include <mach/mach_host.h> + #include <mach/host_info.h> +@@ -30,4 +34,8 @@ + + uint64_t mach_absolute_time(void); + ++#ifdef __cplusplus ++} ++#endif ++ + #endif |