summaryrefslogtreecommitdiff
path: root/patches/patch-Source_WTF_wtf_InlineASM_h
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
committerLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
commit14842b32b65c6ff3f93427d5762041acf17c77f4 (patch)
treeead979553fcc09bd0c3052188fa0e0c3f313fa03 /patches/patch-Source_WTF_wtf_InlineASM_h
Initial import of webkit 2.2.4 port
Diffstat (limited to 'patches/patch-Source_WTF_wtf_InlineASM_h')
-rw-r--r--patches/patch-Source_WTF_wtf_InlineASM_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/patch-Source_WTF_wtf_InlineASM_h b/patches/patch-Source_WTF_wtf_InlineASM_h
new file mode 100644
index 0000000..74b89b6
--- /dev/null
+++ b/patches/patch-Source_WTF_wtf_InlineASM_h
@@ -0,0 +1,12 @@
+$OpenBSD: patch-Source_WTF_wtf_InlineASM_h,v 1.1 2013/04/13 09:11:02 landry Exp $
+--- Source/WTF/wtf/InlineASM.h.orig Sat Mar 9 21:30:13 2013
++++ Source/WTF/wtf/InlineASM.h Sat Mar 9 21:30:27 2013
+@@ -42,7 +42,7 @@
+ #define THUMB_FUNC_PARAM(name)
+ #endif
+
+-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
++#if (OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)) && CPU(X86_64)
+ #define GLOBAL_REFERENCE(name) #name "@plt"
+ #elif CPU(X86) && COMPILER(MINGW)
+ #define GLOBAL_REFERENCE(name) "@" #name "@4"