14 lines
499 B
Plaintext
14 lines
499 B
Plaintext
$NetBSD: patch-aj,v 1.5 2015/09/26 10:16:38 leot Exp $
|
|
|
|
--- Source/WTF/wtf/InlineASM.h.orig 2015-07-22 12:37:57.000000000 +0000
|
|
+++ Source/WTF/wtf/InlineASM.h
|
|
@@ -40,7 +40,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"
|