You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sh...@apache.org on 2008/12/22 13:29:12 UTC
svn commit: r728663 -
/webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c
Author: shankar
Date: Mon Dec 22 04:29:11 2008
New Revision: 728663
URL: http://svn.apache.org/viewvc?rev=728663&view=rev
Log:
fix for issue AXIS2C-1231
Modified:
webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c
Modified: webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c?rev=728663&r1=728662&r2=728663&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c (original)
+++ webservices/axis2/trunk/c/util/src/platforms/unix/thread_unix.c Mon Dec 22 04:29:11 2008
@@ -273,7 +273,7 @@
axutil_thread_once_init(
axutil_allocator_t * allocator)
{
-#ifdef AXIS2_SOLARIS
+#if defined(AXIS2_SOLARIS) && (__GNUC__ <= 3)
static const pthread_once_t once_init = { PTHREAD_ONCE_INIT };
#else
static const pthread_once_t once_init = PTHREAD_ONCE_INIT;