osxcross/patches/ld64-1.patch
Thomas Pöchtrager 2e957af35c initial commit
2014-03-26 20:28:13 +01:00

23 lines
423 B
Diff

--- 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