Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 5bdcd27

Got the tests to pass - cancelled the HAVE_PTHREAD.

also added many generated files to the svn:ignore.

  • Participants
  • Parent commits 1168379

Comments (0)

Files changed (1)

File libtap/src/tap.c

 
 /* Encapsulate the pthread code in a conditional.  In the absence of
    libpthread the code does nothing */
-#ifdef HAVE_LIBPTHREAD
+#if defined(LIBTAP_ENABLE_BROKEN_THREAD_SAFE) && defined(HAVE_LIBPTHREAD)
 #include <pthread.h>
 static pthread_mutex_t M = PTHREAD_MUTEX_INITIALIZER;
 # define LOCK pthread_mutex_lock(&M);