summaryrefslogtreecommitdiff
path: root/x11/qt4-libs/patches/patch-ay
blob: cf2240a0759c1b3344c06b04fbaef428b1b8bc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ay,v 1.6 2010/05/29 17:10:31 adam Exp $

--- src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.orig	2010-02-11 15:55:20.000000000 +0000
+++ src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -86,6 +86,13 @@
 #define WTF_PLATFORM_OPENBSD 1
 #endif
 
+/* PLATFORM(DRAGONFLY) */
+/* Operating system level dependencies for OpenBSD systems that */
+/* should be used regardless of operating environment */
+#ifdef __DragonFly__
+#define WTF_PLATFORM_DRAGONFLY 1
+#endif
+
 /* PLATFORM(SOLARIS) */
 /* Operating system level dependencies for Solaris that should be used */
 /* regardless of operating environment */
@@ -141,6 +148,7 @@
 /* should be used regardless of operating environment */
 #if   PLATFORM(DARWIN)     \
    || PLATFORM(FREEBSD)    \
+   || PLATFORM(DRAGONFLY)  \
    || PLATFORM(SYMBIAN)    \
    || PLATFORM(NETBSD)     \
    || PLATFORM(SOLARIS)    \
@@ -718,7 +726,7 @@
 #endif
 
 #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
-#if PLATFORM(X86_64) && (PLATFORM(DARWIN) || PLATFORM(LINUX) || PLATFORM(SOLARIS) || PLATFORM(HPUX))
+#if (PLATFORM(X86_64) && (PLATFORM(UNIX) || PLATFORM(WIN_OS))) || PLATFORM(IA64) || PLATFORM(ALPHA)
 #define WTF_USE_JSVALUE64 1
 #elif (PLATFORM(IA64) && !PLATFORM(IA64_32)) || PLATFORM(SPARC64)
 #define WTF_USE_JSVALUE64 1