components/stdcxx/patches/081-strref.h.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 26 Nov 2012 20:56:03 -0800
changeset 1059 7bdee7a795db
parent 402 94ae4d75524c
permissions -rw-r--r--
Close of build 10.

--- 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;
 };