apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r552585 - /apr/apr/trunk/test/testcond.c
Date Mon, 02 Jul 2007 20:30:30 GMT
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;



Mime
View raw message