components/stdcxx/patches/081-strref.h.patch
author Sreedhar S <sreedhar.sreedhargadda@oracle.com>
Tue, 23 Jul 2013 19:31:49 -0700
branchs11u1-sru
changeset 2687 31e9b8c7c1f6
parent 402 94ae4d75524c
permissions -rw-r--r--
15688738 problem in DATABASE/MYSQL

--- stdcxx-4.2.1/include/rw/_strref.h	2008-04-24 20:23:43.000000000 -0400
+++ stdcxx-4.2.1/include/rw/_strref.h	2011-03-04 12:01:21.821122729 -0500
@@ -245,8 +245,10 @@
 
     union {
         size_type _C_size;    // Number of actual data values stored
+#if defined(__HP_aCC)
         _CharT    _C_dummy;   // force the alignment of the first char
-    } _C_size;                // named to work around an HP aCC 3.30 bug
+#endif                        // named to work around an HP aCC 3.30 bug
+    } _C_size;
 };