blob: fd799101840a5ab1a9dc84ec45f25d2b14d13099 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aj,v 1.2 2012/10/30 12:46:30 drochner Exp $
--- Source/WTF/wtf/InlineASM.h.orig 2012-10-16 15:22:38.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"
|