apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r413784 - /apr/apr/trunk/test/testatomic.c
Date Tue, 13 Jun 2006 01:57:08 GMT
Author: colm
Date: Mon Jun 12 18:57:07 2006
New Revision: 413784

URL: http://svn.apache.org/viewvc?rev=413784&view=rev
Log:
As per apr_hints.m4, SOLARIS2 is set to "6" for Solaris 2.6, "10" for
2.10 and so on. Reflect that in our use of the macro.

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

Modified: apr/apr/trunk/test/testatomic.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testatomic.c?rev=413784&r1=413783&r2=413784&view=diff
==============================================================================
--- apr/apr/trunk/test/testatomic.c (original)
+++ apr/apr/trunk/test/testatomic.c Mon Jun 12 18:57:07 2006
@@ -25,7 +25,7 @@
 /* Use pthread_setconcurrency where it is available and not a nullop,
  * i.e. platforms using M:N or M:1 thread models: */
 #if APR_HAS_THREADS && \
-   ((defined(SOLARIS2) && SOLARIS2 > 26) || defined(_AIX))
+   ((defined(SOLARIS2) && SOLARIS2 > 6) || defined(_AIX))
 /* also HP-UX, IRIX? ... */
 #define HAVE_PTHREAD_SETCONCURRENCY
 #endif



Mime
View raw message