equal
deleted
inserted
replaced
|
1 --- stdcxx-4.2.1/include/rw/_config-gcc.h 2008-04-24 20:23:43.000000000 -0400 |
|
2 +++ stdcxx-4.2.1/include/rw/_config-gcc.h 2009-07-29 17:11:54.000000000 -0400 |
|
3 @@ -154,6 +154,18 @@ |
|
4 |
|
5 #ifdef _RWSTD_OS_SUNOS |
|
6 |
|
7 +// Solaris >= S10U6 on SPARC V8: |
|
8 +// KU 137111-01 && CR 6296770 |
|
9 +// POSIX: pthread_mutex_t and pthread_condvar_t |
|
10 +// Solaris: mutex_t and condvar_t MUST be aligned on |
|
11 +// 8-byte boundary. |
|
12 +// This is relevant on 32-bit SPARCV8 only. |
|
13 +// 64-bit SPARCV9 already aligns on 8-byte boundary by default. |
|
14 + |
|
15 +# if defined(sparc) || defined(__sparc) || defined(__sparc__) |
|
16 +# define _RWSTD_STRICT_SPARCV8_MUTEX_ALIGNMENT 1 |
|
17 +# endif // sparc || __sparc|| __sparc__ |
|
18 + |
|
19 // _SOLARIS_THREADS #defined when the -threads option is used on SunOS |
|
20 # if defined (_SOLARIS_THREADS) && !defined (_RWSTD_SOLARIS_THREADS) |
|
21 # define _RWSTD_SOLARIS_THREADS |