Changeset 35234 in webkit
- Timestamp:
- Jul 18, 2008 8:31:37 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r35231 r35234 1 2008-07-18 Landry Breuil <landry@openbsd.org> 2 3 Bug 19975: [OpenBSD] Patches to enable build of WebKit 4 5 <https://bugs.webkit.org/show_bug.cgi?id=19975> 6 7 Reviewed by David Kilzer. 8 9 Support for OpenBSD, mostly threading and libm tweaks. 10 11 * kjs/collector.cpp: #include <pthread.h> 12 (KJS::currentThreadStackBase): use pthread_stackseg_np() to get stack base 13 * kjs/config.h: OpenBSD also provides <pthread_np.h> 14 * wtf/MathExtras.h: #include <sys/types.h> and <machine/ieee.h> 15 (isfinite), (signbit): as long as we don't have those functions provide fallback implementations 16 * wtf/Platform.h: Add support for PLATFORM(OPENBSD) and PLATFORM(SPARC64) macro 17 1 18 2008-07-17 Geoffrey Garen <ggaren@apple.com> 2 19 -
trunk/JavaScriptCore/kjs/collector.cpp
r35160 r35234 64 64 #endif 65 65 66 #if PLATFORM(OPENBSD) 67 #include <pthread.h> 68 #endif 69 66 70 #if HAVE(PTHREAD_NP_H) 67 71 #include <pthread_np.h> … … 370 374 thr_stksegment(&s); 371 375 return s.ss_sp; 376 #elif PLATFORM(OPENBSD) 377 pthread_t thread = pthread_self(); 378 stack_t stack; 379 pthread_stackseg_np(thread, &stack); 380 return stack.ss_sp; 372 381 #elif PLATFORM(UNIX) 373 382 static void* stackBase = 0; -
trunk/JavaScriptCore/kjs/config.h
r34838 r35234 38 38 #endif 39 39 40 #if PLATFORM(FREEBSD) 40 #if PLATFORM(FREEBSD) || PLATFORM(OPENBSD) 41 41 #define HAVE_PTHREAD_NP_H 1 42 42 #endif -
trunk/JavaScriptCore/wtf/MathExtras.h
r34198 r35234 33 33 #if PLATFORM(SOLARIS) 34 34 #include <ieeefp.h> 35 #endif 36 37 #if PLATFORM(OPENBSD) 38 #include <sys/types.h> 39 #include <machine/ieee.h> 35 40 #endif 36 41 … … 72 77 #ifndef signbit 73 78 inline bool signbit(double x) { return x < 0.0; } // FIXME: Wrong for negative 0. 79 #endif 80 81 #endif 82 83 #if PLATFORM(OPENBSD) 84 85 #ifndef isfinite 86 inline bool isfinite(double x) { return finite(x); } 87 #endif 88 #ifndef signbit 89 inline bool signbit(double x) { struct ieee_double *p = (struct ieee_double *)&x; return p->dbl_sign; } 74 90 #endif 75 91 -
trunk/JavaScriptCore/wtf/Platform.h
r34969 r35234 58 58 #endif 59 59 60 /* PLATFORM(OPENBSD) */ 61 /* Operating system level dependencies for OpenBSD systems that */ 62 /* should be used regardless of operating environment */ 63 #ifdef __OpenBSD__ 64 #define WTF_PLATFORM_OPENBSD 1 65 #endif 66 60 67 /* PLATFORM(SOLARIS) */ 61 68 /* Operating system level dependencies for Solaris that should be used */ … … 173 180 #endif 174 181 182 /* PLATFORM(SPARC64) */ 183 #if defined(__sparc64__) 184 #define WTF_PLATFORM_SPARC64 1 185 #define WTF_PLATFORM_BIG_ENDIAN 1 186 #endif 187 175 188 /* Compiler */ 176 189 -
trunk/WebKitTools/ChangeLog
r35214 r35234 1 2008-07-18 Landry Breuil <landry@openbsd.org> 2 3 Bug 19975: [OpenBSD] Patches to enable build of WebKit 4 5 <https://bugs.webkit.org/show_bug.cgi?id=19975> 6 7 Reviewed by David Kilzer. 8 9 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters. 10 1 11 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com> 2 12 -
trunk/WebKitTools/DumpRenderTree/DumpRenderTree.h
r28705 r35234 47 47 #include <string> 48 48 49 #if !PLATFORM(OPENBSD) 49 50 std::wstring urlSuitableForTestResult(const std::wstring& url); 51 #endif 50 52 51 53 class LayoutTestController;
Note: See TracChangeset
for help on using the changeset viewer.