You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/07/02 22:30:30 UTC

svn commit: r552585 - /apr/apr/trunk/test/testcond.c

Author: davi
Date: Mon Jul  2 13:30:29 2007
New Revision: 552585

URL: http://svn.apache.org/viewvc?view=rev&rev=552585
Log:
Guard use of apr_thread_mutex/cond_t under APR_HAS_THREADS.

Modified:
    apr/apr/trunk/test/testcond.c

Modified: apr/apr/trunk/test/testcond.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testcond.c?view=diff&rev=552585&r1=552584&r2=552585
==============================================================================
--- apr/apr/trunk/test/testcond.c (original)
+++ apr/apr/trunk/test/testcond.c Mon Jul  2 13:30:29 2007
@@ -27,6 +27,8 @@
 
 #define ABTS_SUCCESS(rv)    ABTS_INT_EQUAL(tc, rv, APR_SUCCESS)
 
+#if APR_HAS_THREADS
+
 typedef struct toolbox_t toolbox_t;
 
 struct toolbox_t {
@@ -37,7 +39,6 @@
     void (*func)(toolbox_t *box);
 };
 
-#if APR_HAS_THREADS
 static void lost_signal(abts_case *tc, void *data)
 {
     apr_status_t rv;