Title: [98629] trunk/Source/_javascript_Core
Revision
98629
Author
[email protected]
Date
2011-10-27 13:40:29 -0700 (Thu, 27 Oct 2011)

Log Message

Fix building on GNU/kFreeBSD
https://bugs.webkit.org/show_bug.cgi?id=71005

Patch by Gustavo Noronha Silva <[email protected]> on 2011-10-27
Reviewed by Darin Adler.

* config.h:
* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (98628 => 98629)


--- trunk/Source/_javascript_Core/ChangeLog	2011-10-27 20:30:08 UTC (rev 98628)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-10-27 20:40:29 UTC (rev 98629)
@@ -1,3 +1,13 @@
+2011-10-27  Gustavo Noronha Silva  <[email protected]>
+
+        Fix building on GNU/kFreeBSD
+        https://bugs.webkit.org/show_bug.cgi?id=71005
+
+        Reviewed by Darin Adler.
+
+        * config.h:
+        * wtf/Platform.h:
+
 2011-10-27  Michael Saboff  <[email protected]>
 
         Investigate storing strings in 8-bit buffers when possible

Modified: trunk/Source/_javascript_Core/config.h (98628 => 98629)


--- trunk/Source/_javascript_Core/config.h	2011-10-27 20:30:08 UTC (rev 98628)
+++ trunk/Source/_javascript_Core/config.h	2011-10-27 20:40:29 UTC (rev 98629)
@@ -92,7 +92,7 @@
 #define WTF_USE_OS_RANDOMNESS 1
 #endif
 
-#if OS(FREEBSD) || OS(OPENBSD)
+#if (OS(FREEBSD) || OS(OPENBSD)) && !defined(__GLIBC__)
 #define HAVE_PTHREAD_NP_H 1
 #endif
 

Modified: trunk/Source/_javascript_Core/wtf/Platform.h (98628 => 98629)


--- trunk/Source/_javascript_Core/wtf/Platform.h	2011-10-27 20:30:08 UTC (rev 98628)
+++ trunk/Source/_javascript_Core/wtf/Platform.h	2011-10-27 20:40:29 UTC (rev 98629)
@@ -347,7 +347,7 @@
 #endif
 
 /* OS(FREEBSD) - FreeBSD */
-#if defined(__FreeBSD__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
 #define WTF_OS_FREEBSD 1
 #endif
 
@@ -633,7 +633,7 @@
 #endif
 
 #if !defined(HAVE_STRNSTR)
-#if OS(DARWIN) || OS(FREEBSD)
+#if OS(DARWIN) || (OS(FREEBSD) && !defined(__GLIBC__))
 #define HAVE_STRNSTR 1
 #endif
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to