osxcross/patches/cctools-ld64-1.patch

23 lines
423 B
Diff
Raw Normal View History

2013-11-10 14:49:24 +01:00
--- 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