summaryrefslogtreecommitdiff
path: root/test/testatomic.c
diff options
context:
space:
mode:
authorColm MacCarthaigh <colm@apache.org>2006-06-13 01:57:07 +0000
committerColm MacCarthaigh <colm@apache.org>2006-06-13 01:57:07 +0000
commit374d89c7c71b43404ddc24bac99404fec47f6c39 (patch)
tree8183180527ff200ad07dbeceab9401ff87c21ba5 /test/testatomic.c
parenta00b5d5212cb189019d3f4fc5108c55f30f363cf (diff)
downloadapr-374d89c7c71b43404ddc24bac99404fec47f6c39.tar.gz
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. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@413784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testatomic.c')
-rw-r--r--test/testatomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testatomic.c b/test/testatomic.c
index 95f31119c..baf32a62a 100644
--- a/test/testatomic.c
+++ b/test/testatomic.c
@@ -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