Author: sebor
Date: Tue Jun 3 10:29:41 2008
New Revision: 662846
URL: http://svn.apache.org/viewvc?rev=662846&view=rev
Log:
2008-06-03 Martin Sebor <[EMAIL PROTECTED]>
* tests/regress/21.c.strings.stdcxx-843.cpp [!_RWSTD_MBSTATE_T_SIZE]
(<rw/_defs.h>): Explicitly #included in case none of the previously
#included headers does so (i.e., we're using the compiler's C++ C
headers).
Modified:
stdcxx/branches/4.2.x/tests/regress/21.c.strings.stdcxx-843.cpp
Modified: stdcxx/branches/4.2.x/tests/regress/21.c.strings.stdcxx-843.cpp
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regress/21.c.strings.stdcxx-843.cpp?rev=662846&r1=662845&r2=662846&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/regress/21.c.strings.stdcxx-843.cpp (original)
+++ stdcxx/branches/4.2.x/tests/regress/21.c.strings.stdcxx-843.cpp Tue Jun 3
10:29:41 2008
@@ -29,6 +29,13 @@
#include <cassert>
#include <cwchar>
+#ifndef _RWSTD_MBSTATE_T_SIZE
+ // explicitly include our own <rw/_defs.h> in case neither
+ // of the two above is ours (i.e., we're using the compiler's
+ // C++ C headers)
+# include <rw/_defs.h>
+#endif // _RWSTD_MBSTATE_T_SIZE
+
// known mbstate_t sizes on major platforms
#ifdef _RWSTD_OS_AIX