You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/04/17 14:13:37 UTC

svn commit: r1327057 - /subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c

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