summaryrefslogtreecommitdiff
path: root/www/webkit-gtk/patches/patch-aj
blob: bd54dc5c9b8266874d5763aaac45d31a7d6bfa91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.3 2014/08/03 22:30:05 wiz Exp $

--- Source/WTF/wtf/InlineASM.h.orig	2014-04-14 06:40:45.000000000 +0000
+++ Source/WTF/wtf/InlineASM.h
@@ -42,7 +42,7 @@
 #define THUMB_FUNC_PARAM(name)
 #endif
 
-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
+#if (OS(LINUX) || OS(FREEBSD) || OS(NETBSD) || OS(SOLARIS)) && CPU(X86_64) || (OS(SOLARIS) && CPU(X86)) 
 #define GLOBAL_REFERENCE(name) #name "@plt"
 #elif CPU(X86) && COMPILER(MINGW)
 #define GLOBAL_REFERENCE(name) "@" #name "@4"