Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2021-01-20 17:13:16 +0000
committerLakshmi Shanmugam2021-01-20 17:13:16 +0000
commit705fb7e4fdbf3b4d564e15d1a9a994552b8418c6 (patch)
tree2463c3fdd00f474b198010220d3d3fdbcd0891db
parent9d902a695bcf9b89e810c56e0f8aadd93095a4fc (diff)
downloadeclipse.platform.swt-705fb7e4fdbf3b4d564e15d1a9a994552b8418c6.tar.gz
eclipse.platform.swt-705fb7e4fdbf3b4d564e15d1a9a994552b8418c6.tar.xz
eclipse.platform.swt-705fb7e4fdbf3b4d564e15d1a9a994552b8418c6.zip
Bug 565887 - Build SWT Mac libraries with XCode 12
put back the #ifndef __i386__ in os.h removed in previous commit Change-Id: I4fd98d3b0474b52e437aed5046e65019da66bca4 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h
index ffc668cfd9..e9ddc02163 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.h
@@ -35,6 +35,9 @@ extern jint CPSSetProcessName(void *, jlong);
#define objc_msgSendSuper_bool objc_msgSendSuper
#define objc_msgSend_floatret objc_msgSend_fpret
+#ifndef __i386__
+#define objc_msgSend_fpret objc_msgSend
+#endif
/* The structure objc_super defines "class" in i386/ppc and "super_class" in x86_64 */
#ifdef __x86_64__

Back to the top