No Bug - Disable pthreads in libxml, again. Remove hack from ca9805727ee8. r=clokep
authorFlorian Quèze <florian@queze.net>
Wed, 10 Jun 2015 13:40:32 -0400
changeset 774 e6736861f04ce004bd1f3221eb4635d3139c115e
parent 773 d0ee48a13a1545a5dac98487ce2ddbe7d74a6a15
child 775 9e65893ce648d58eab6d0472225a4d5e9f1c917b
push id51
push userclokep@gmail.com
push dateWed, 10 Jun 2015 17:42:41 +0000
reviewersclokep
No Bug - Disable pthreads in libxml, again. Remove hack from ca9805727ee8. r=clokep
libraries/xml2/config.h
--- a/libraries/xml2/config.h
+++ b/libraries/xml2/config.h
@@ -105,18 +105,16 @@ static int isnan (double d) {
 #endif
 
 /* Threading API to use should be specified here for compatibility reasons.
    This is however best specified on the compiler's command-line. */
 #if defined(LIBXML_THREAD_ENABLED)
 #if !defined(HAVE_PTHREAD_H) && !defined(HAVE_WIN32_THREADS) && !defined(_WIN32_WCE)
 #define HAVE_WIN32_THREADS
 #endif
-#else
-#undef HAVE_PTHREAD_H
 #endif
 
 /* Some third-party libraries far from our control assume the following
    is defined, which it is not if we don't include windows.h. */
 #if !defined(FALSE)
 #define FALSE 0
 #endif
 #if !defined(TRUE)
@@ -132,17 +130,17 @@ static int isnan (double d) {
 #define VERSION "2.6.32"
 /* #undef HAVE_LIBZ */
 /* #undef HAVE_LIBM */
 #define HAVE_ISINF 
 #define HAVE_ISNAN 
 /* #undef HAVE_LIBHISTORY */
 /* #undef HAVE_LIBREADLINE */
 /* #undef HAVE_LIBPTHREAD */
-/* #undef HAVE_PTHREAD_H */
+#undef HAVE_PTHREAD_H
 
 /* Define if IPV6 support is there */
 /* #undef SUPPORT_IP6 */
 
 /* Define if getaddrinfo is there */
 /* #undef HAVE_GETADDRINFO */
 
 /* Define to 1 if you have the <ansidecl.h> header file. */