048-_config-sunpro.h.patch revision 402
159N/A--- stdcxx-4.2.1/include/rw/_config-sunpro.h 2008-04-24 20:23:43.000000000 -0400
159N/A+++ stdcxx-4.2.1/include/rw/_config-sunpro.h 2009-08-04 23:43:43.589286000 -0400
159N/A@@ -51,3 +51,15 @@
159N/A // source for (intentionally undefined) member functions
159N/A // of class templates
159N/A #define _RWSTD_NO_UNDEFINED_TEMPLATES
159N/A+
159N/A+#if defined(__sparc)
159N/A+// Solaris >= S10U6 on SPARC V8:
159N/A+// KU 137111-01 && CR 6296770
159N/A+// POSIX: pthread_mutex_t and pthread_condvar_t
159N/A+// Solaris: mutex_t and condvar_t MUST be aligned on
159N/A+// 8-byte boundary.
159N/A+// This is relevant on 32-bit SPARCV8 only.
159N/A+// 64-bit SPARCV9 already aligns on 8-byte boundary by default.
159N/A+# define _RWSTD_STRICT_SPARCV8_MUTEX_ALIGNMENT 1
159N/A+#endif
159N/A+
159N/A