summaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2011-11-17 02:28:07 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2011-11-16 21:28:07 -0500
commit00449933e6832a4a21de8b0f8dd2c8888c636222 (patch)
treecf78e3a13bf620d4cdb370eaf5e37b9bda3c6471 /fixincludes/tests
parent091d26a69c0788ba0a7629c00642be9d2441a189 (diff)
downloadgcc-00449933e6832a4a21de8b0f8dd2c8888c636222.tar.gz
inclhack.def (aix_once_init_[12]): New fixes.
* inclhack.def (aix_once_init_[12]): New fixes. * fixincl.x: Regenerate. * tests/base/pthread.h: Update. From-SVN: r181434
Diffstat (limited to 'fixincludes/tests')
-rw-r--r--fixincludes/tests/base/pthread.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fixincludes/tests/base/pthread.h b/fixincludes/tests/base/pthread.h
index 834f0519ed2..24a215fa47f 100644
--- a/fixincludes/tests/base/pthread.h
+++ b/fixincludes/tests/base/pthread.h
@@ -9,6 +9,20 @@
+#if defined( AIX_ONCE_INIT_1_CHECK )
+#define PTHREAD_ONCE_INIT \
+{{ \
+
+#endif /* AIX_ONCE_INIT_1_CHECK */
+
+
+#if defined( AIX_ONCE_INIT_2_CHECK )
+ 0 \
+}}
+
+#endif /* AIX_ONCE_INIT_2_CHECK */
+
+
#if defined( AIX_PTHREAD_CHECK )
#define PTHREAD_MUTEX_INITIALIZER \
{...init stuff...}