subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1327057 - /subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c
Date Tue, 17 Apr 2012 12:13:37 GMT
Author: stefan2
Date: Tue Apr 17 12:13:37 2012
New Revision: 1327057

URL: http://svn.apache.org/viewvc?rev=1327057&view=rev
Log:
* subversion/tests/libsvn_subr/named_atomic-test.c
  fix usage of APR_HAS_THREADS

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c?rev=1327057&r1=1327056&r2=1327057&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c Tue Apr 17 12:13:37
2012
@@ -130,7 +130,7 @@ init_concurrency_test_shm(apr_pool_t *po
   return SVN_NO_ERROR;
 }
 
-#ifdef APR_HAS_THREADS
+#if APR_HAS_THREADS
 
 /* our thread function type
  */
@@ -643,7 +643,7 @@ test_namespaces(apr_pool_t *pool)
   return SVN_NO_ERROR;
 }
 
-#ifdef APR_HAS_THREADS
+#if APR_HAS_THREADS
 static svn_error_t *
 test_multithreaded(apr_pool_t *pool)
 {
@@ -698,7 +698,7 @@ struct svn_test_descriptor_t test_funcs[
                    "basic r/w access to multiple atomics"),
     SVN_TEST_PASS2(test_namespaces,
                    "use different namespaces"),
-#ifdef APR_HAS_THREADS                
+#if APR_HAS_THREADS
     SVN_TEST_PASS2(test_multithreaded,
                    "multithreaded access to atomics"),
 #endif                   



Mime
View raw message